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

Need help mashing some Macros I found here together

1596826344

Edited 1596826367
So basically, I want to make a macro for the Summon monster spell where you just need to select the level of the spell to have the list of mobs available to summon, like in&nbsp; this &nbsp;post, but instead of opening a page when selected, I'dd like for the monster's stats to be rolled directly [Celestial badger]( <a href="https://www.d20srd.org/srd/monsters/badger.htm" rel="nofollow">https://www.d20srd.org/srd/monsters/badger.htm</a> ) becomes [Celestial badger]( # Celestial-Badger)&nbsp; or&nbsp; [Celestial badger]( &amp;{template:default} {{ name=Celestial Badger }} {{ Move [[30]] HP:[[1d8+2]] CMD:[[11]] }} { {AC:[[15]] To:[[14]] Fl:[[12]] }} {{ Fo:[[4]] Re:[[5]] Wi:[[1]] }} {{ Claw 1:[[1d20+4]] for [[1d2-1]] }} {{ Claw 2:[[1d20+4]] for [[1d2-1]] }} {{ Bite:[[1d20-1]] for [[1d3-1]] }}) Where the macro for the stats rolling is the same as the one in&nbsp; that &nbsp; post I can't figure it out, but I know for a fact that some of you are way more experienced with roll20's macro system so if one of you could help me figure it out, I would really appreciate it AlphaOrion
1596827010

Edited 1597156747
GiGs
Pro
Sheet Author
API Scripter
You cant include macro code in the ( ). What you need to do is create a macro with this inside it: &amp;{template:default} {{ name=Celestial Badger }} {{ Move [[30]] HP:[[1d8+2]] CMD:[[11]] }} { {AC:[[15]] To:[[14]] Fl:[[12]] }} {{ Fo:[[4]] Re:[[5]] Wi:[[1]] }} {{ Claw 1:[[1d20+4]] for [[1d2-1]] }} {{ Claw 2:[[1d20+4]] for [[1d2-1]] }} {{ Bite:[[1d20-1]] for [[1d3-1]] }} and then call it like [Celestial badger](!&amp;#13; # Celestial-Badger) &nbsp; If you store the macro code in a character sheet called Macros, you can call it like so [Celestial badger](~Macros|Celestial-Badger) &nbsp;
1597129512

Edited 1597600653
Sadly this didn't work. It might very well be a mistake on my part, but I still can't figure it out. Everything works fine by itself, but mashing them together doesn't. for now, I have a macro to list all the summons at chosen level &amp;{template:default} {{name=Summon Monster}} {{ ?{Summon Monster | Level I, *Summon Monster I* &nbsp; ...&nbsp;&nbsp; &nbsp; [Something else](Some other links) &nbsp; [Celestial badger]( <a href="https://www.d20srd.org/srd/monsters/badger.htm" rel="nofollow">https://www.d20srd.org/srd/monsters/badger.htm</a> ) &nbsp; [Celestial monkey]( <a href="https://www.d20srd.org/srd/monsters/monkey.htm" rel="nofollow">https://www.d20srd.org/srd/monsters/monkey.htm</a> ) &nbsp; [Something else](Some other links) &nbsp; ... | And then I need to manually call the macro for the chosen summon With the way you proposed it, it just doesn't call the macro or do anything at all Level I, *Summon Monster I* &nbsp; ...&nbsp;&nbsp; &nbsp; [Something else](#Tested-That-Way-By-Myself) &nbsp; [Something else](&amp;#13;#Tested-That-Too) &nbsp; [Something else]( ~Macros| We-Don't-Use-Roll20-Character-Sheets) &nbsp; ... | So I don't know if there's another way to do it, but these methods ( At least the 2 first ones ) aren't working on my end. Thanks again for any help you guys can provide
1597155681
GiGs
Pro
Sheet Author
API Scripter
You're making a mistake a lot of people do when seeking help: you are describing in generalities what you are doing, and forcing us to try to guess the specifics and then guess what might be going wrong. Post the&nbsp; actual &nbsp;code you are trying, including the text of the macros the button is supposed to launch.
1597156943
GiGs
Pro
Sheet Author
API Scripter
OH! i just noticed my earlier code had an error. This: [Celestial badger](&amp;#13; # Celestial-Badger) &nbsp; should have been [Celestial badger](!&amp;#13; # Celestial-Badger) &nbsp; It's a shame you didnt try the character sheet version though, as that method is far superior, and the code is correct. Even if you dont use characetr sheets, having exactly ONE character sheet as a place to store your Macros is a good idea, and avoids some issues with using button code like this in macros. (HTML entities dont get erased if you open up character sheet abilities...)