
Update v0.1.0 -- Moved this to an official script, should be showing up the the official repo soon. Added a help with --help as well as showing any face up card. Additional formatting shows you if a card in the list is facedown (has a shadow) or not. (Thanks Inza!)
PeekCards
(Based on this discussion: https://app.roll20.net/forum/post/7073957/how-to-look-at-a-face-down-card-without-having-to-flip-face-up)
When you play cards to the table face down (by holding shift as you drag them out of your hand) there isn't a way to look at what you played. With this script installed, all future cards played will be marked with the person that played them. By selecting one or more of them, you can run the !peek-card command to show you what you played. (Works on face up cards too, not that that matters too much...)
Commands
- !peek-card [--help | token_id ...] -- Select one or more cards, or use @{target|token_id} to pass ids to the command. Will whisper you images of all the cards you selected, if you played them. pointing to the card will show a larger version of it. Use --help to get a description of available commands.
Example:
!peek-card @{target|one|token_id} @{target|two|token_id}
Source: https://github.com/shdwjk/Roll20API/blob/master/PeekCard/PeekCard.js