Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

[Script] Token Fate

1559140304

Edited 1560883769
Davemania
KS Backer
Sheet Author
API Scripter
I humbly submit Token Fate: The goblin reinforcements have arrived with their crude bows at the ready! They scan the caves beyond their bretheren who are engaged in melee. Who will they fire on? A vicar floats above his acolytes who are being cut down by the infidels on the floor of the chapel below. Dark paralyzing energies granted by his chaotic god have the strength to affect two of the intruders, but which two? Sometimes a berserker has a choice: who does he pulp with his battleaxe? Often someone has drawn his ire, and an obvious candidate presents themselves. Other times the world at large is his antagonizer, and only Token Fate can decide which individual his wrath will be visited upon. A rollable table with an entry for each party member would work, but sometimes a subset need to be excluded from fate's fickle gaze. You could roll 1dX, with each result representing a valid option, but then each result needs to be translated for all parties invested before the die is cast. Now, simply select any number of tokens, and call upon !token-fate Wow! Fast. Easy. Impartial. Available now in the script library. the fine print: Token Fate will randomly select a token from the selected group on the virtual table top for any nefarious purpose you see fit. The name of the token is given preference, but the name of the represented character will be used if the token has no name of it's own. In the case that a selected token has no name and represents no character, it will be skipped and a new candidate will be selected. If no eligible candidates are found, or if no tokens were selected in the first place, it will output that No Token has been selected. edit: v1.1 Available now in the script library! !token-fate  Execute while you have a group of tokens selected for best results !token-fate-w  Execute while you have a group of tokens selected for best results whispered to the GM! Both of the above commands will accept a single integer or inline roll argument! Tokens equal to the number passed can now suffer the same fate!
1559142549
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Very clever. I usually roll a d6 for enemies to choose between PC opponents with equal threat. This speeds that up.
1559145669
The Aaron
Roll20 Production Team
API Scripter
Super cute!
1559174402

Edited 1559177428
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Any chance that you can add an option to whisper? Use Cases: One player is secretly affected with madness, or is targeted by a pick pocket.
keithcurtis said: Any chance that you can add an option to whisper? Use Cases: One player is secretly affected with madness, or is targeted by a pick pocket. What he said! Love this idea!
1559182546
Mike W.
Pro
Sheet Author
Very nice script, well done! 
Great work!
1559219006
Ziechael
Forum Champion
Sheet Author
API Scripter
Is there scope to add a multiple selection option? !token-fate 2 or !token-fate [[1d3]] to allow for multiple selections from a group? Haven't had chance to test the script yet but can already think of multiple applications >:)
Ziechael said: Haven't had chance to test the script yet but can already think of multiple applications >:) The potential for evil is almost endless!
1559236645
Davemania
KS Backer
Sheet Author
API Scripter
keithcurtis said: Any chance that you can add an option to whisper? Use Cases: One player is secretly affected with madness, or is targeted by a pick pocket. Ziechael said: Is there scope to add a multiple selection option? Coming Soon to the Script Library! !token-fate  Execute while you have a group of tokens selected for best results !token-fate-w  Execute while you have a group of tokens selected for best results whispered to the GM! Both of the above commands will accept a single integer or inline roll argument! Tokens equal to the number passed can now suffer the same fate!
1559238015
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Cool!
1559262940

Edited 1559263273
most excellent....great request...btw When the Wyvern swoops down into the party,,,,I like it posted...lol when the enemy casts heat metal on a party member....the whisper part comes in handy... Never know who it will affect...lol