Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supernotes and Dealer #1924

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dealer/script.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Dealer",
"script": "Dealer.js",
"version": "1.2",
"version": "2.0",
"description": "Deals and takes cards from players by deck\r\rSyntax is:\r`!deal --[give,take] [#] --[deck name]|[Card Name]`\r\rIf give/take is not specified, it gives a card to the player controlling the selected token If deck name is not specified, it defaults to \"Playing Cards\". If a card name is not specified, it defaults to a random card from the specified deck.\r\rYou can specify a number of cards to give or take. After the action word, type an integer, after a space:\r\r`!deal --give 5 --Playing Cards`\r\rYou can specify a card to deal by name. If no card exists by that name in that deck, the script will inform the user by chat message. Note that it is possible to give multiple copies of the same card even from a finite deck:\r\r`!deal --give --Playing Cards|Six of Hearts`\r\rThe script will deal cards to the player from the specified deck so long as there are enough available. If the deck has cycled through all cards, it will automatically shuffle.\r\rIf a token has more than one controller or is controlled by All and one or more players, it will select the first single player in the controlled by list.\r\rScript will try to let you know if you have not prepared a command or deck properly.\r\rIf deck does not deal a card, you may need to manually shuffle (Roll20 bug). If the deck is shuffled, it may not recognize all cards in hand.",
"authors": "Keith Curtis",
"roll20userid": "162065",
Expand All @@ -11,5 +11,5 @@
"deck.*": "read,write"
},
"conflicts": [],
"previousversions":["1.0","1.1"]
"previousversions":["1.0","1.1","1.2"]
}
Loading