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

[Help] Add a (minor) function to HoneyBadger's Initiative highlight script.

Hi guys, I've set up HoneyBadger's script ( <a href="https://app.roll20.net/forum/post/447239/script-hi" rel="nofollow">https://app.roll20.net/forum/post/447239/script-hi</a>... mostly so my players can use a macro to end their turn. The system we're playing however means that that's fine if they want to skip their turn to act later on in the initiative roster. If they actually take their action, they'd have to /delete/ themselves -currently selected token- from the iniative tracker, rather than ending their turn. Is it possible to write a command to let them do that, as well? Any help appreciated, -Niki
1439675112
The Aaron
Pro
API Scripter
Yes! &nbsp;If you copy the whole command == '!eot' portion, change the !eot to something like !taketurn, and remove the section that does turnorder.push( ... ); it will have the precise effect you're looking for. :)
Super! Thanks!