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 .
×

Suggestion and Bug Reports

Bugs: This is not working, it just say in the game chat my macro name (#my_macro_name) • ?{Which macro?|Attack,#use-sword |Defend,#use-shield} Suggestions: • An IF function for macros would be awesome. • Variables declaration that I could use multiple times after defining it. Something similar to int and scanf in C#. • Someway to roll (using the /r in chat) multiple times adding a modifier, example: Input: /r 5*(d20+5) Output: 25; 11; 21; 7; 18 • Actually, implementing C# as a whole for "macros" would be awesome c:
1508892853
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Global macros require a space after them, put a space before your end curly bracket. As for your suggestions, I wouldn't get my hopes up. Macros aren't supposed to be a full coding language, and the API is already using JavaScript.