Advertisement Create a free account

Getting Cron script to work with Token-mod

1546850609
I'm having trouble figuring out how to make these two scripts work together. Currently, token-mod does not do anything when it has been scheduled by cron.
1546860039
The Aaron
Forum Champion
API Scripter
Can you go into a bit more detail about what you’re trying to do?
1546862493
Sure! I'm trying to add a red statusmarker to a token after a three second delay, but I can't figure out why the command below doesn't work: !cron -a 3 !token-mod --set statusmarkers|red:1 --ids @{selected|token_id}
1546885337
The Aaron
Forum Champion
API Scripter
Do you have PlayersCanIDS turned on?  When the api executes a command, it will come in as the ALI player, which is not a GM do can’t use the --IDS argument.