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

Handout macro

1578364957

Edited 1578365024
I know other player already asked the question but im a beginner and i can't make my macro hyperlink work.Im trying to link a 1d4dice macro to a table handout ive created this is my hyperlink:  !&# 13#1d4 and my macro is call 1d4
1578395930
Andreas J.
Forum Champion
Sheet Author
Translator
I'm not entirely sure if you can hyperlink a macro to a handout, but if you want a macro called "1d4m" to roll 13 times on your roll table called "1d4t", you need to do following:  Create a roll table called "1d4t", and fill it with whatever you needed Create a macro called "1d4m", and define it as "/roll 13t[1d4t]" Now, if anyone writes "#1d4m" in the chat, the macro will roll 13 times on your "1d4t" table and display the results in the chat. IIRC the Power Cards API can be used to link macros and API buttons to handout, or something along those lines, so as a Pro user you could check that out. Someone more knowledgeable likely have more to add, but alt least the method above gets you close to what you want.
1578398972

Edited 1578399226
Ziechael
Forum Champion
Sheet Author
API Scripter
You can use hyperlinks to call macros by having some text, select it and add a link formatted like you have suggested but without the space: !&#13#1d4 instead of !&# 13#1d4 You can also use Journal Command Buttons Scrap that top bit, I think Journal Command Buttons replaced that functionality, as your link you just prefix the macro call with a backtick: `#1d4
it work great! thank alot!
1578413489
Ziechael
Forum Champion
Sheet Author
API Scripter
Was good to remind myself of this oft overlooked functionality, so thank you :)