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 .
Advertisement Create a free account

API to run an OnDrop command

Hello.- Generally speaking, on Token drops, I want to run certain commands on NPC/Monster Drops, since lately I've been running with some issues that have forced me to manually run some scripts, for instance: On Token Drop: run the !shaped-apply-default, apply certain mods with token stuff that isn't included in the standard shaped settings, like randomly selecting a multi-token with the TokenMod, adding vision, randomly offsetting certain attributes with SetChatAttr, and a relatively low chance of getting a random Player-specific feat related to combat to top it off. I've looked around and haven't found anything of the sort. Also, just in case, it would be great if it could run different commands according to the is_npc or any other attribute.
The Aaron
Forum Champion
API Scripter
There isn't a script for that currently.