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
This post has been closed. You can still view previous posts, but you can't post any new replies.

Binary output of status in makro

I would like to be able to have a tokens status markers, able to influence a makro, by calling the binary value of a status marker (1=on, 0=off). Ex.: /r 1d6*@(selected|purple_maker), giving a result of zero if the purple marker is off, and a result of 1-6 if the marker is on. This would make possible a single attack makro to take into account raging babarians, power attack, etc. On the same account, a list of names for the different non-coloured markers.
1381660854
Lithl
Pro
Sheet Author
API Scripter
In order, the markers are named: red blue green brown purple pink yellow dead skull sleepy half-heart half-haze interdiction snail lightning-helix spanner chained-heart chemical-bolt death-zone drink-me edge-crack ninja-mask stopwatch fishing-net overdrive strong fist padlock three-leaves fluffy-wing pummeled tread arrowed aura back-pain black-flag bleeding-eye bolt-shield broken-heart cobweb broken-shield flying-flag radioactive trophy broken-skull frozen-orb rolling-bomb white-tower grab screaming grenade sentry-gun all-for-one angel-outfit archery-target
thanks a lot