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

Macros running twice...

1427370574

Edited 1427372536
Hi Guys Can't see this posted before but for some reason my in game macros are running twice. Has anyone had this problem before and if so how did you resolve it. Macros were linked to an intelligent character sheet if that helps. This has just stated happening as well as they were running fine (and only once) up until yesterday.... The macros look fine and I have tried disabling and re-enabling sheet api's and restarted the game several times in different browsers to no effect. Results include initiative being rolled twice and player added to the turn tracker twice, attributes being adjusted twice, players healing twice etc.....a simple roll command in the chat window works once.. Put that command in a macro it rolls twice...... Made for a very confusing session yesterday. Martin Edit: Sorry I should add they are not just mirroring they are running correctly twice with completely seperate results...
Usually when this happens, they mirror...
Thats what I don't understand... When the macro runs I get two different results.....was fine up until yesterday ......
Is this on Dev or Main? And do these macros use an API script or anything? Anything showing up in your console log? And finally it would be helpful to give an example of the macros so we can test them. Thanks!
Hi Riley It is on main... It does use an API script...They can be found here - <a href="https://github.com/Roll20/roll20-character-sheets/" rel="nofollow">https://github.com/Roll20/roll20-character-sheets/</a>... It is happening on all macros.. basic one is !nathanum-attrib @{selected|token_id}|intellect|?{Mental +/-|0} A more advanced is !nathanum-numeneroll @{selected|token_id}|might|?{Might roll: Difficulty|0}|?{Effort to roll|0}|?{Roll bonus: Not Damage Bonus|0}|?{Additional/Misc cost|0}|?{Effort to damage|0}} They have been working fine and started duplicating on Wednesday. And nothing in the api console logs..
Do you have the 'isGM' script on? Try disabling it. It worked for me
Sorry jake.. Not very technical.... Where is that option found?
1427755647
Stephen Koontz
Forum Champion
Marketplace Creator
Sheet Author
API Scripter
Compendium Curator
Martin P. said: Sorry jake.. Not very technical.... Where is that option found? There is an option to disable scripts at the bottom of the API menu, in Campaign Settings. This is the place you pasted in the API scripts for use in your campaign.