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

Using Tokenmod with a multi-sided token

I recently purchased this item&nbsp; <a href="https://marketplace.roll20.net/browse/gameaddon/25564/ammo-counter-rollable-tables" rel="nofollow">https://marketplace.roll20.net/browse/gameaddon/25564/ammo-counter-rollable-tables</a> And I was seeing if there was a way I could use it to track the ammo usage of my group through a macro to move down to the next side.&nbsp;&nbsp; Is there a way to make this work in this fashion?
In the&nbsp; Token Mod wiki documentation , in the examples it shows how to change sides in a multi-sided token: //Sidenumber Multi-sided tokens ! token - mod - - set currentside | 2 //set selected token to show side 2 ! token - mod - - set currentside | + //set selected token to show "next" side, by "shifting" the token side number by +1 ! token - mod - - set currentside | * //set selected token to show random side
TokenMod can increment the 'side' of a token: !token-mod --set currentside|+1 Or if you want to only increment to the end of the rollable token sides without 'wrapping around' back to the first token: !token-mod --set currentside|?+1
Many thanks for the solutions.&nbsp; I tried all manner of commands to make it work and walking away from the PC then using your answers worked like a dream.