4+ years later, I just found your RUclips channel and am gobbling up all the tutorials, oldest first. We're new to VTT (thanks to COVID), but you're making me a believer that this might be something I want to continue doing, even after the pandemic. We play Savage Worlds, which means the dice explode when the ace, and rolls often include a d6 wild die. So a d4 roll is really a roll in which the player selects the highest of the exploding d4 or the exploding d6. That's really hard to do in the little die roller tool on the side bar widget. Your tutorial helped me make a tray of wild dice rollers. It's the bomb!! Thank you!!
Just a little detail for those who may want to do this with a character sheet. The macros on the Character Sheets are termed Abilities not macros and use the % instead of the # but when you want to stack them you need something like this &{template:default} {{name=Skills}} {{Skills=[Crossbow](~Character_Name|CB) [Rapier](~Character_Name|R)}} [Crossbow] is the name which comes up on the button, ~Character_Name denotes which character sheet, ususally the same one your inputting on, |CB is whatever you named the appropriate Abilitie (macro) on the character sheet. This also works across sheets, so if you have a ranger Ashley and they sometimes use their bonus action to have their animal companion attack you can put on Ashley's sheet [Bear Claw](~Bear|Claw) and provided you have a character sheet called Bear, with Claw as an Abiltity as part of that game availble it'll roll that macro from the sheet. Hope this helps any individual players who use the Abilities (Character Sheet Macros) section that finds this.
I know this is a pretty old video by now, but you are a game saver! Our group plays Animon Story and Essence 20. The Essence 20 sheet on Roll20 is downright disgraceful, and Animon Story doesn't have a sheet on Roll20 as of now, so being able to do this is SUPER helpful! I could figure out the basic macros, but no explanation of these stacked or nested macros, and I'm not very good at any of this stuff so searching for it was a nightmare without knowing what to even type in! But the best part is that I can see a few ways this could be useful for other things, both in these systems, and whenever I'm running D&D! Randomly generating NPCs, encounters, challenges, etc., or combining it with Animon's Monster Of The Week style encounter builder is freaking awesome!
Thank you! This was very helpful. Fun tip, if you are playing Pathfinder 2e, you can create your macros, remove the template, and insert the buttons directly into the actions tabs on your character sheet. Just use this part: [Button Title](! & # 1 3,#nameofmacro ) without the spaces just like in Talking20's description and place it wherever you want in the description section or wherever else you want it to show up. I turned the skills on my character sheet into simpler macros and then replaced the words for what skills to use in the descriptions for some of my actions with actual clickable buttons. You can turn the skills into simpler macros by clicking the skill on the character sheet, clicking into the typing box, pressing the "up" key, copy the text that appears, and paste it into a macro. Then title that macro however you want. If you try to just use the macro as is from the character sheet instead of making a simpler titled one, it doesn't work out too well. If you try to keep the template from this video when embedding a button, it will end up splitting the description in half. The 2nd half will have some of your code and also will not be inside a template at all. I'm guessing that it can't put a template inside a template.
For those wanting their wrappers to have the 5e look that Taking20 uses in the video here is the string that I used: /w gm &{template:npcaction} {{rname=Dice Roller}} } {{description=Select your die type: [Macro](!#MacroName)}}
did you ever figure it out? I know why. After the exclamation mark, you have to put "#13;" for some reason that always disappears when you copy/paste the whole formula.
Does it only work with the 5e handbook or can i use it without? Sadly a lot of tutorials use preset templates from handbooks and manuals that arent accessible to me so the macro tutorials are rather useless :(
@@nicospielberg Yes the macro will get all screwy if you open it again or try to add anything to it. Write the macro into a file you can save, then place it into roll20. Then do not touch it once it is closed and it will work fine. If you open it and add to it, due to the #13 jazz it will get all screwy. Place it then leave it alone. If you alter it, grab from your saved file and paste the formula in.
@@Arcanumsyndicate I just want to say that I learn this the hard way. Kept beating my head against the wall until I figured out that you can never go back in and edit the macro once saved. So yes, write it in Word and then copy it over, link the macros and save and forget. If you find you have to make changes, you have to delete and redo all of those steps. Thanks again!
Lots of good info... I think. You did a lot of assuming that we could read and see everything you did, but most of it is not visible and or not legible. I blew up the screen so big that the dithering was prohibiting reading it. I tried magnifying lenses. I tried step by step scrolling through the video. Some of them just are not legible, or it is off the screen entirely. Seemed like a lot of good info. Wish I could have learned it.
I usually do not tend to comment videos on RUclips, but this time i have to say a big "thank you"! Those Videos are great and helping me a lot! Thanks a lot man!
Thanks for this video, it allowed me to finally create macros to allow players and NPCs to have a list of their spells to choose from without going to the character sheet. Involves a lot of small macros, but it does the job.
Wow... I know exactly what you did there. I imagine that was quite a few macros depending on the class (cleric would make me shudder lol). Glad you like it Paul!
Yeah, it's unfortunate that the macros are so limited. I figure there's a maximum of around 30 of those little macros to cover a 20th level caster - unless I'm missing something. Not sure if there's some kind of limit to the number you can have, but can I stand scrolling past all those macros every time I use the settings tab?!?
"And then down here (down where?), we're going to take this little formula and then paste it here." I saw the pasting part, but not the copying part. I watched that part of the video multiple times, and I have no idea where 'down here' is. I watched it at .25 speed. Still no idea.
I've made 2 sets of these, for myself as the gm and for the players. If you'd like to add an input option to include modifiers instead of just [[?{How many}d?{Die type}]] use this [[?{How many}d?{Die type}?{Modifier?}]] leave blank for no modifier, use a plus or minus for an advantage or disadvantage when the modifier prompt opens
This is freaking amazing!!! THank you so much. I just got to a point where macros were taking up way too much space on my screen. Voila!!! Problem solved. You are awesome.
I really wish I had found this series long ago. I know things have changed, but am finding tips in these I can use to tweak macros that I have tried to create
Now i'm trying this with the whisper actions from the previous vid but i cant get it working. Got it to the point where the buttons show up and then the input box pops up but then it wont whisper. Slightly confused haha.
Sweedrock, do this for me: make sure you are "building/writing" the macro in a document like word or wordpad or google docs. Then Copy/paste over the macro and see if that clears it up. sometimes when you try and go back and edit the macros, it gets all wonky. Let me know.
Hi there! First thank you very, very much for your extremely informative Roll20 instruction videos on RUclips! They really ad me going! Ever since I saw the “nesting macros” video, I’ve been creating tables, macros and nesting. So cool! Unfortunately I cannot make the nested dice roller work for my players - and I’ve been looking into this many times to see, if I’ve overlooked something. All that happens, when they press one of the nested buttons, is the name of the die roller being showed in the panel. (E.g. pressing a “d20” results in the “#DiceD20” result. Nothing more.) I hope you will help me, as the mainpart of nesting for me, is helping my players. (I’m playing the 100 % player-faced Symbaroum RPG, where the GM isn’t supposed to roll any dice.) NESTED DIE-ROLLER &{template:default} {{name=Terningeruller}} {{Vælg...=[1d4](!
#DiceD4 ) [1d6](!
#DiceD6 ) [1d8](!
#DiceD8 ) [1d10](!
#DiceD10 ) [1d12](!
#DiceD12 ) [1d20](!
#DiceD20 )}} DIE-ROLLER MACRO (THIS EXAMPLE MACRO IS NAMED “DICED20”) &{template:default} {{name=Ruller 1d20}} {{Resultatet blev=[[1d20]]}} I sincerely apologize for any mis-spellings. As a Dane (a true Viking), English is not my native language. Hail, Sune “the Viking” Nødskou
Great guide. I was having some problems where the rolls wouldn't whisper the GM, but I realized I had a space following the semi colon in the stack macro text. Something to watch out for, if anyone else has this issue.
Wow man... thanks! I do believe I will have to tell my wife I have officially received the moniker of "Badass Mo'Fo!" hahahaha! Glad you like it my man.
You're Welcome and You are. Because you just made this game more enjoyable for me. I have been able to successfully create the Dice macro button on the bottom left, and make the dice buttons d4 thru d100 in the chat box work. However, I noticed that in your video (at exactly 1:00 minute), your dice roll displays the result in the chat box. I have not been able to figure this one out. Could you perhaps, make a another video describing what steps are needed to make this happen? Below are some links to show you, what you have and what I have.... What you have: s182.photobucket.com/user/mc_001/media/Capture%20001.jpg.html What I have: s182.photobucket.com/user/mc_001/media/Capture%20002.jpg.html
Wayne, did you setup the dice macros from the video description? I think that may be the problem here. Try setting up this macro down below. Then try stacking it inside a (totally different) 'wrapper' macro. /w gm &{template:npc} {{normal=1}} {{name=}} {{rname=D20}} {{mod=}} {{r1=[[1d20]] | [[1d20]]}}
Nope. No Dice. Excuse the pun. Still could not make it work. I sent you a private message on RUclips. Perhaps you might be willing to help me with what I stated on there.
If that didn't work... hmmmm... Are you playing 5e D&D WITH the 5e SRD sheets? If you are playing another system like pathfinder use this instead (just to test): Setup a macro and name it D20 Then use this: /w gm [[d20]] Then try stacking that macro into the dice roller
I just want to say thank you for all of these videos .... this one though of course would be where everything came tumbling down.... one punctuation mistake. 3 weeks of trying to trouble shoot all for one damn semicolon.. again thank you though very good videos
helpful video, I have 5 tables set up each with their own macro, the formating looks great, but only the first box actually works. The other 4 do nothing, not even an error.
When using the general macro section. HTML entities like carriage return will revert upon reopening the macro and saving it again (for example if you want to do edits). I believe you explain this in a different video, but it might be an idea to add it here as well.
Thank you for the video! It would also have been worth to explain when you save your nested macro to save it somewhere else first, and don't reopen the global macro. Unless you save it in a character sheet. Otherwise, the code gets messed up because of html I believe.
Hello Cody! Great video, helped a lot, BUT I have a question. After I'd created all the macros for rolling dice I noticed that before two results there is no text (e.g. creatures have 'Attack:' text before the result). There is just a colon and nothing more. And you have it in your video. I hope you'll read this
This is great. Is it possible to set up a macro to give you an option to wisp or not to wisp the GM? like a toggle? Sometimes I want my players to see the dice. also maybe add a modifier to the dice roll option after the query.
These D4-100 macros work strange and don't show dice value in the template. Final result bellow the line is just " : 15 | 7 " (random numbers for an example).
I love this series, thanks a bunch. I am having some trouble though. When i try to use the 5e template, &{template:npc} it breaks the maco. I have to use the default as a result. I've just started to DM on Roll20 and haven't purchased any digital guilds/handbooks because i have hard copys. Any ideas why it's not working?
Having issues with this. My Macro is /w gm [RollAttributes](!
#RollAttributes) [CalculateHPMP](!
#CalculateHPMP) [SetupBars](
#SetupBars). When I click on the links, all I get is the #Macroname (i.e. #RollAttributes). The macros work fine when run normally. Any thoughts?
Loved the Video! This is going to take the Roll20 experience to a whole new level. I have a question about Stacking though. I rarely use the actually Macro list just in case another player has to run my character for a time. Would this work with Abilities in a character sheet as well? My end goal is to have like a spell, which has it's own template in it, show up in this "wrapper" as part of a spell book. So, a character ability in a template, calling another character ability that also has a template. Can this even be done?
Glad you liked it Manny! Ok let's see.... you want to place a macro, casting a spell inside of another macro. Yes, easily done. The only part I see from your post that I'm not 100% sure of what you are aiming to do is the character calling another character ability. But If you are trying to create this, start backwards: 1 Create a macro that casts a spell (Spell). Make sure the template is formatted the way you want the final output. 2 Open a word/wordpad/Google doc to do your "wrapper" (Spellbook) macro editing in (ALWAYS DO THIS!) 3 Start with the template, test. Add in your 1st spell macro. Test. 4 If everything is working, then start creating your additional spell macros. Be sure to do all editing in your wordpad/google doc, everytime you reopen the wrapper macro (spellbook) re-paste the entire macro in or it will break.
Your video inspired me and a buddy to work on it some more and we found an API wiki that is related to your button video. I was totally using the wrong Syntax for using Abilites. Here is the syntax we found online. Hopefully we can plug it in and make it work so that anyone running the character can use it from the token actions. [Ability](!
%{CharName|AbilityName}) Thanks So much for your help! Gonna keep watching your Master Series and learning more! You got a Sub in me.
Awesome awesome video series!! Definitely gained a subscriber! Stupid question...been wrestling this for hours and scoured your videos and the roll20 wiki but can't seem to get this to work. Am pretty sure you can't nest macro results from rollable tables. For example: - Macro generates a room and determines it has 3 exits. - Wrapper macro sees there are 3 exits and runs a new macro 3 times to determine what those exits are. As I say, pretty sure roll20 won't let you do that. So I've created a separate macro that I'd like to ask me "How many exits are there?", and based on that, I execute the target macro however many times I choose. I've been trying to do it this way and it is not working...am I doing something wrong, will this just not work, or is there an alternate way of doing this? /w gm ?{How many passage exits?|1,[[#DungeonPassage]] |2,[[#DungeonPassage]] [[#DungeonPassage]]} I very much appreciate your help and expertise! This is truly an amazing series...best I've seen on how to get the most out of Roll20. I'm an automation and coding geek and can get lost in this for hours!
I've pretty much got everything except the Dice Query in the nested macro down. The display button for "d??" comes up under the DICE title, but when clicking on it, it doesn't do anything
hey taking 20, i connected the clickable chat boxes to different abilities that role an attack, but the outcome is not in a nice box and instead the full text although the ability makro for itself does it by using [ ]. btw great tip to handle dice rolls
So the code I have as a test is /w gm &{template:npc} {{rname=Treasure}} {{name=Treasure CR0-4}} {{Roll= [Copper](! & # 13; #Treasure:CR0-4Copper)}} using of course no improper spaces (as shown here) and yes I have the macro Treasure:CR0-4Copper set up. My issue is that it will correctly display the template with the names I've declared but will not call the macro. If, however, I put the macro call on a separate line, it will properly call the macro but will not display the template nor whisper. Can I get some advice? Great videos btw. Macros are just rather aggravating.
For the 5e npc rolling template, when I'm using it, notice that the rname is not displaying in front of the roll (before the colon). It displays up top where it should, in red, but not below the line. Can not figure out why. Wonder if the 5e rolling templates changed?
It seems it depends on which template you're using, the first part of the code, npc in this case "&{template:npc}" I was not able to find a list of templates but in going through his macro's I found a few: &{template:npcaction} and &{template:npcatk} and tried those. worked in npcatk.
I have a macros that will put buttons with other macros in the chatbox. Is there a way that only the person running the wrapper macro can see that? Basically I'm looking for a workaround to /talktomyself not working with macros.
Hi Cody, I was wondering what parameters you use with what looks to be the NPC template in the beginning to get it to show a description separate from the rname. Furthermore, where are you putting the command buttons linked to the other macros, in the description parameter? It would be great to see what that macro looks like with the OGL template.
I'm trying to find out how to link the name of a spell on a spell list into a template button. More specifically, setting a nested macro for cantrips to have [Macro](!
#MacroName) with the title of the button - where you type into [Macro] to indicate the name - to automatically generate the name for the spell-cantrip_$0 slot. Any thoughts?
I know this is a really old video and I doubt that you'll even see this but when I make the macro with the selectable dice in it my clickable actions goes vertical instead of horizontally as yours does in the video. Any idea what could be causing that to happen?
I am following your template but I don't get a value in front of the " : ". The die roll works, the headers look fine, but I can't figure out why I can't get the label to appear in front of the " :number" any help would be great. Using the template:npc.
I had the same issue, but i figure out... perhaps you are using the roll20 sheet, and you need to place the code "type" to get the label to appear there... here is mine /w gm &{template:npc} {{normal=1}} {{name=}} {{rname=D20}} {{mod=}} {{r1=[[1d20]] | [[1d20]]}}{{type=D20}}
Super helpful post video. However, I'm actually running into an issue. I have my macros with nested tables. They work perfectly and whisper to the GM. I have my wrapper macro that takes those.. macro tables. Again, works perfectly fine. I have my choices when I run the wrapper it whispers GM. But when I click those individual macros table buttons, the text is out loud. For example: Macro Table: /w gm &{template:default} {{name=Affectations}} {{description=[[1t[Affectations]]]}} Wrapper Macro: /w gm &{template:default} {{name=Origins & Personal Style}} {{[Race](! ,#Race) [Ethnic-Origins](! ,#Ethnic-Origins) [Hairstyle](! ,#Hairstyle) [Clothes](! ,#Clothes) [Affectations](! ,#Affectations)}}
Do these macros and "wrappers" still work? I can't figure out what's wrong with them (June 1st, 2019) (Update: After reading through the comments, it appears that the syntax has changed since the video was posted. Would you please update the video or write a solution in the description? @Taking20)
Can the "[Macro](!
#MacroName)" also be used for Ability's? Tried this but it just rolls the attack with out the button in the chat.."[Attack](!
%{selected|Shortsword})"
hey i was wondering if anyone could help me with something. I'm a 5e player and in my macro quick bar i've dragged all my damage dealing spells and i've also made macros for them with just a little bit of blurb text e.g. /me places his left whand on his outrstretched right wrist as he shouts fire in draconion. My question now is would it be possible to combine these macros so that instead of 2 buttons there is only a need for 1 button in my macro quick bar. I already tried adding #(name of the spells quick macro) underneath the line for the blurb but that doesn't seem to work.
Hey man, I need help. Do you know if the macro coding has been changed? I set up the nested dice roller macro just as you did, and as long as I only hit test macro, it works. When I hit save changes and then try it out, Roll20 redoes the whole macro and it breaks. Any idea why this would be happening? It's driving me crazy.
Yes the macro will get all screwy if you open it again or try to add anything to it. Write the macro into a file you can save, then place it into roll20. Then do not touch it once it is closed and it will work fine. If you open it and add to it, due to the #13 jazz it will get all screwy. Place it then leave it alone. If you alter it, grab from your saved file and paste the formula in.
Hello, I have a question about the Macros Stack ... I save the macro as you mentioned, in this format: [Macro](! 13;#MacroName) After a while I use Macro to stop working, and when I check the characters "
" disappear from the macro text. I need to re-create the macro to work again. Do you know what might be happening and how to avoid this situation? Thank you! : D
"Due to the order of operations, Macro calls nested within Roll Queries are fully expanded before the Roll Query is executed. This means that if a macro nested within a Roll Query contains any "problematic characters" that conflict with Roll Query syntax (such as "}" "," and "|"), that nested macro may cause the Roll Query to break (because the Roll Query will treat problematic characters in the called macro as Roll Query syntax). If this is the case, it may be necessary to either remove those problematic characters (within the called macro itself), or replace them with HTML entities (see: Advanced Usage for Roll Queries). Macros which contain HTML entity replacements may no longer function outside of a Roll Query. should be saved as Abilities. Reopening a Collections Macro reverts HTML entities; if that Macro is then saved, those reversions are as well. This behaviour is not present within Abilities." wiki.roll20.net/Macros
how do i set up that dice querry though? to make it ask me what TYPE of dice to roll? ive been stuck on this fro hours, cant seem to find anything online about it.
First off, great tutorial series, it's really opened my eyes to how powerful roll20 can be. However, I'm having a problem with nested macros not being whispered to me when I press the pink buttons. The wrapper macro is whispered to me, and the individual macros are whispered, but when I try to access any macros via the buttons in the wrapper, they are broadcast to everyone. Any ideas?
@@gukusama I have found that unlike other macro calls for whisper you don't want a space after the semi colon. I reference this thread that helped me. app.roll20.net/forum/post/8427213/help%7D-nesting-macro-not-whispering
So, I am trying to use this concept with my attack rolls. Basically a Shell that then lists each of the available attack options for a character. The first half works just fine. The Box comes up with pink buttons for the various attack macros I have. But when I hit one of the macros, instead of the macro executing it gives me a message. For example if I hit the Ranged attack button, I get a message saying #RangedAttack instead of the actual roll occurring. Below is the macro as I understand it followed by my actual RangedAttack macro. There are no spaces in my actual macro for the ! section. &{template:default} {{name=Attacks}} {{ATTACKS=[RangedAttack](! & # 1 3 ;#RangedAttack)}} /em makes an attack with their ranged weapon. [[d20 -5 +@{Proficiency} +@{DEX} +@{BAB}]] Normal Hit [[3d8 +floor(@{Level}*.5)]] energy damage. Stun Hit [[2d8 +floor(@{Level}*.5)]] stun damage Any ideas?
It's so strange, When I make this macro [Macro](!
#MacroName) it runs perfect, but if I attemp to change it again I find it transformed into [Macro](!;#MacroName) what it`s goin on? Do I have a problem?
Does this still work? I have tried inputting this into current free Roll20, it works, but when I hit save and close out of the wrapper/nesting macro, all of my lines referring to the actual macros break, and my gm whisper command is broken as well, doesnt look like this works today.
ok, so i have an idea, but im a newb at coding and don't know how to make the macro work well enough. Spells lists. NPC casters have spell lists, and i used your selected token spell macro from another video. I just placed in the main macro section instead of the token. edited to work the in collections tab of the chat window. Spell (spellslots OR innate casting): /w gm %{selected|token_name|repeating_spell-npc_$0_spell} if we have 3-5 of these, with corresponding spells in the character sheet, can we use a rapper macro to spit out buttons like the dice roller macro. kind of a 1 macro to rule them all.
ok, i figured it out. Spell1 Mocro Bar /w gm %{selected|token_name|repeating_spell-npc_$0_spell} Character Sheet /w gm %{selected|repeating_spell-npc_$0_spell} Spell List /w GM [Spell1](!
#Spell1)[Spell2](!
#Spell2) The reason i have it in 2 places is because im not sure where it is pulling the information from. Now for the hat trick that is totally beyond me. Replacing the name on the label from spell 1 to the name of the spell. say fireball. I do not know what the location is on the sheet where macros pull the spell name from. when i press the macro button on the Character sheet it spits out two d20 rolls, damage, and the spell name at the bottom. if you could insert that into brackets that would be the hat trick. then all spells would be accessible from the tokens and unused ones would come up blank or broken.
Anyone able to help? I entered the code for the stacked macro that included the normal d4 and d?? macros show in the video (not description). This worked fine and whispered the selection box to me. However once I selected a set to roll, it did not roll whispering to me. I then rolled the selected dice set with its individual macro and it whispered just fine. Any suggestions?
Maybe it's late, but! Inside this mumbo-jumbo (!
#D4) there is a difference with what heading after (13). With ( , ) it would not whisper, but with ( ; ) it works as we want it to work.
Love your videos! I'm trying to build the individual die macros with no success. I copied and pasted the D12 macro and all I get is a blank whispered message!
I bet I know what's going on. Have you set up the actual die roll macros yet? You need to set up one for each macro, THEN create a wrapper macro to call on them. Look down at the comments for my exchange with Wayne, he skipped the same step. Let me know if that helps!
Cool! I got it to work (except for the dice query)! I can make the default template work, but not the 5ed template. What is the macro for the default 5ed template in general?
There are several, but this is the one I think is the easiest and cleanest to use. Behind each = you can just type in anything you want-- stacked macros, plain text, dice rolls, etc. &{template:npcaction} {{name=}} {{rname=}} {{description=}}
Well, it sounds like you are trying to create an attack macro, in which case I think you should use the macro built into your sheets. The template I provided will only work for the 5E OGL Sheet. If you are playing with ANY other sheet, it simply will not work & you'll need to use the default template or that sheet's template. Sample with the above template: &{template:npcaction} {{name=SOME TEXT LIKE THINGS HERE}} {{rname=POSSBLY MORE TEXT, or not. It's up to YOU}} {{description=Attack:[[1d20]] DAMAGE, piercing [[1d6]]}} See how I mixed it up there? You can be creative.
Hahaha I know that frustration... but I'm glad you like it and that you got it working! (don't forget to subscribe lol) Next couple of videos will be on rollable tables and then putting that together with this video so stay tuned!
Hey, Little bit of trouble getting my grouped macros to work, I followed the video exactly and I can sucessfully get the first "Test Dice" macro to appear in the pink box in the chat, but when i click the pink box in the chat, nothing happens. I have created Macros for rolling the dice as posted in the description here, and they work perfectly fine if i just use them by themselves. But do nothing while in the pink Box, Also when i go to edit the "Test-Dice" Macro, it gets rid of the "
," section and moves the text to the next line underneith. I wrote all of the macros in microsoft word then copy pasted them over into roll20. I am at a loss. :(
Hi guys. Sorry for my bad english i am from germany 🙂 I Create a macro that roll a number of d6 that i want and then it count the dices that roll a 5 or a 6. Here is the macro &{template:default} {{name=Gamemaster}} {{Erfolge=[[{(?{Dice|0})d6}>5]]}} I want to let this macro also count all dices that roll a 1 and show it in the next row. Can you Help me?
[Macro](!
#MacroName) So try this for me-- 1 Create a macro and name it Test (capitalization matters). 2 Set the formula to: [[d20]] 3 Save 4 Test that macro to make sure it works (it should roll a d20) 5 Create a new macro and name it Wrapper 6 Put this exactly in the formula: [D20](!
#Test) 7 Save and try it Let me know!
@@Taking20 I have been enjoying you Master Series videos. However, I think that the wrapper macros have had the coding changed, as I can not get it to work. I followed the directions example directly above, and the first macro works fine. When I create the second macro, save it, and the text changes to "[D20](!#Test)" This creates the button, but will not do anything. Any suggestions on how to make the button actual do something would be greatly appreciated.
I play 3.5 at the moment with my dad. He uses this for his spells, but he uses the default template instead of the spell template. The reason for this, is the spell template does not work in the macro section. Is there anyway I can tweak the it to make the spell template fit in a nested macro?
Either way. This is a really nifty trick. Been using this for my dice, as explained. I'm also using it as a sort of dictionary for conditions, and ability damage for the game I play. I don't often remember the effects, so just having to click, instead of flipping through an SRD really helps. Lol
I successfully created a stacked macro to emulate different critical effects from different kinds of weapons. For those of you who know it the infamous Good Hits Bad Misses Table from back in the day. My buddies and I saw that come out in Dragon mag. Any way... I wanted it to be usable by the players but I am getting a runtime issue. When a player runs it the box with the pink boxes comes up fine but then when you click the pink box it just prints out the name of the macro like #CritBlunt. Thoughts or help?
So i have a slight issue i thought i followed the steps here exactly but apparently not. I'm trying to get set up a stacked macro with my encounter tables in and well it doesn't stack it just rolls the 3tables individually and i have tinkered for about an hour now and cant figure it out. Any help would be great oh and FYI great content love it
This seems to be a reoccurring problem people are having. You have missed a step. You must FIRST create a macro that actually calls the table and rolls it. Check out this video: ruclips.net/video/vyuIA8F0OdA/видео.html Then come back to this video and you can stack your macros. Remember, you are trying to stack macros inside of macros; rollable tables are not macros if that makes sense?
Taking20 Makes perfect sense I had all ready set up the macros to roll the tables, something must of got lost somewhere I'll have to check over everything in the morning, to much thinking this close to bed.
Well finally got back round to toying with this again when the boss says would you like a 5Am shift i really need to learn to say no. Remade the previous table rolling macros and the "wrapper" macro and well same issue i click the macro and it rolls the 3tables separately. Could it have something to do with the table rolling macro using a template?
I am having a bit of problem with my nested macros that I want to use for multi attacking for my monsters. I am trying to make a nested macro to select which of the attack options to use. It is not seeing the names of the macros as macros like '/w gm &{template:npcaction} {{rname=Multi Attack}} } {{description=Select your Attack : [Bite,Claw,Claw](! #Test}) }' It is not running the macro it is just blank if I click the button. What am I doing wrong? I have to many monsters to make this macro for each one of them in my macro list is it possible to do it in the A&A section in the character sheet?
This happens when you set the macro, and then edit it. Use Notepad to write your macros, and then copy/paste over your existing code every time you edit.
The test Macro is %{selected|repeating_npcaction_$0_npc_action} %{selected|repeating_npcaction_$1_npc_action} %{selected|repeating_npcaction_$2_npc_action} %{selected|repeating_npcaction_$2_npc_action} The first macro works and the button appears but clicking the button just paste the macro name #Test. Is the problem that I am calling macros for the sheet or is something else wrong? If I name the macro Test in the character sheet should I just call it a #Test for my nested or something else? Copy And pasting does not fix the problem
i can't seem to get this to work... The macros themselves work fine, but when i click the button, it doesn't whisper the rolls. it actually prints "/w gm" followed by the roll result. if i run the roll macro by itself, it whispers just fine and the wrapper macro whispers. Any ideas?
Doesn't work for me. After I save the macro it deletes, the "& # 1 3 ;". Test macro below. /w gm &{template:default} {{name=Dice Table}} {{Dice=[D4](!
#wd4)}}
Macros stored in the Collections tab will translate HTML if you reopen them, breaking the macro. Macros stored in the Abilities section of a character sheet won't. It's a good idea to create a character to backup macros with HTML so you can easily copy-paste them if you reopen and break them in the game's Collection section.
If anyone could put up the default template macro that causes the other macros to appear as boxes I would appreciate it. The 5e template only works in 5e D&D, not in any other game. EDIT -- Nevermind -- Between this video and another 3rd-party forum, I managed to figure it out. Example -- &{template:default}{{name=Breath Weapon}} {{[Acid](!#Breathe-Acid)}} {{[Electric](!#Breathe-Electric)}} {{[Fire](!#Breathe-Fire)}} etc. Please note the ! before the #. That's what I missed from the dithering of the video when trying to blow it up to read it.
Hey, so in following along, when I click the Pink box in the whispered macro, instead of rolling from the said table, it just prints the "#NPC_Appearance" in the chat instead of actually rolling from my table called NPC_Appearance. Here is the Macro string: "/w gm &{template:default} {{name=**Create NPC**}} {{Roll= [Appearance](!
#NPC_Appearance) }}" Any idea why?
Did you actually create a macro to roll the table? It sounds like you are trying to call the table directly, which simply will not work. Check out my rollable tables video to setup a macro that will call from the table. (In a clean manor too, otherwise it will look really garbled)
Here is one that I created for my generators. It calls a Macro on a CHARACTERS sheet (their abilities section). [Abyssal Corruption](!
%{DMMacros|abyssalcorruption}) Here it is without the specific macro text: [SOMETEXTHERE](!
%{NAMEOFTHECHARACTER|NAMEOFMACROONSHEET}) Let me know if that works for you reliku!
That`s awesome, your way works! I was searching around and found another way of doing this yesterday by using [SOMETEXTHERE](~NAMEOFCHARACTER|[MACROONSHEET], still I like your way better as it uses real codes!
i keep trying this and i still cant get it to work. If i replace your text with my characters name, and the characters ability the button and template pop up in the chat window, but it gives me an "ERROR TYPE I is undefined "when I click the resulting button.
/w gm &{template:npcaction} {{rname=Dice Roller}} {{name=}} {{description=Select your die type: [D4](!
#D4) [D6](!
#D6)}} This will NOT work unless you have created a macro for each of the dice. Look at the video's description for creating each of those.
I want to use this for my treasure tables too but since the code disappears i cant just copy and paste this formula so i can use it again. So frustrating!
I need help ! Recently i tried to learn about macros of roll20. I have created a macro for the normal attack of my character BUT I CAN'T add the condition of crit happening . For example IF crit roll an extra d6 . Can someone help me ? My current command is : [[d20+@{Charactername|strength_mod}+@{Charactername|pb}]] for [[d6+@{Charactername|strength_mod}]] bludgeoning Damage
Note: If you named your macros with capital D's then you need to tweak this. Main dice roller macro: /w gm &{template:default} {{name=Dice Roller}} {{Dice=[d4](!
#d4)[d6](!
#d6)[d8](!
#d8)[d10](!
#d10)[d12](!
#d12)[d20](!
#d20)[d100](!
#d100)[d??](!
#d??)}}
4+ years later, I just found your RUclips channel and am gobbling up all the tutorials, oldest first. We're new to VTT (thanks to COVID), but you're making me a believer that this might be something I want to continue doing, even after the pandemic. We play Savage Worlds, which means the dice explode when the ace, and rolls often include a d6 wild die. So a d4 roll is really a roll in which the player selects the highest of the exploding d4 or the exploding d6. That's really hard to do in the little die roller tool on the side bar widget. Your tutorial helped me make a tray of wild dice rollers. It's the bomb!! Thank you!!
Just a little detail for those who may want to do this with a character sheet. The macros on the Character Sheets are termed Abilities not macros and use the % instead of the # but when you want to stack them you need something like this
&{template:default} {{name=Skills}} {{Skills=[Crossbow](~Character_Name|CB) [Rapier](~Character_Name|R)}}
[Crossbow] is the name which comes up on the button,
~Character_Name denotes which character sheet, ususally the same one your inputting on,
|CB is whatever you named the appropriate Abilitie (macro) on the character sheet.
This also works across sheets, so if you have a ranger Ashley and they sometimes use their bonus action to have their animal companion attack you can put on Ashley's sheet [Bear Claw](~Bear|Claw) and provided you have a character sheet called Bear, with Claw as an Abiltity as part of that game availble it'll roll that macro from the sheet. Hope this helps any individual players who use the Abilities (Character Sheet Macros) section that finds this.
I know this is a pretty old video by now, but you are a game saver! Our group plays Animon Story and Essence 20. The Essence 20 sheet on Roll20 is downright disgraceful, and Animon Story doesn't have a sheet on Roll20 as of now, so being able to do this is SUPER helpful! I could figure out the basic macros, but no explanation of these stacked or nested macros, and I'm not very good at any of this stuff so searching for it was a nightmare without knowing what to even type in!
But the best part is that I can see a few ways this could be useful for other things, both in these systems, and whenever I'm running D&D! Randomly generating NPCs, encounters, challenges, etc., or combining it with Animon's Monster Of The Week style encounter builder is freaking awesome!
Thank you! This was very helpful. Fun tip, if you are playing Pathfinder 2e, you can create your macros, remove the template, and insert the buttons directly into the actions tabs on your character sheet. Just use this part: [Button Title](! & # 1 3,#nameofmacro ) without the spaces just like in Talking20's description and place it wherever you want in the description section or wherever else you want it to show up.
I turned the skills on my character sheet into simpler macros and then replaced the words for what skills to use in the descriptions for some of my actions with actual clickable buttons. You can turn the skills into simpler macros by clicking the skill on the character sheet, clicking into the typing box, pressing the "up" key, copy the text that appears, and paste it into a macro. Then title that macro however you want. If you try to just use the macro as is from the character sheet instead of making a simpler titled one, it doesn't work out too well. If you try to keep the template from this video when embedding a button, it will end up splitting the description in half. The 2nd half will have some of your code and also will not be inside a template at all. I'm guessing that it can't put a template inside a template.
dude, this is freaking INVALUABLE. i'm generally not good with tech, so for me, this is a godsend. can't thank you enough!
For those wanting their wrappers to have the 5e look that Taking20 uses in the video here is the string that I used:
/w gm &{template:npcaction} {{rname=Dice Roller}} } {{description=Select your die type: [Macro](!#MacroName)}}
Sorry to bother you, but when I use your template, all I have is the header "Dice Roller" and nothing else... Would you have any idea ?
did you ever figure it out? I know why. After the exclamation mark, you have to put "#13;" for some reason that always disappears when you copy/paste the whole formula.
Does it only work with the 5e handbook or can i use it without? Sadly a lot of tutorials use preset templates from handbooks and manuals that arent accessible to me so the macro tutorials are rather useless :(
@@nicospielberg Yes the macro will get all screwy if you open it again or try to add anything to it. Write the macro into a file you can save, then place it into roll20. Then do not touch it once it is closed and it will work fine. If you open it and add to it, due to the #13 jazz it will get all screwy. Place it then leave it alone. If you alter it, grab from your saved file and paste the formula in.
@@Arcanumsyndicate I just want to say that I learn this the hard way. Kept beating my head against the wall until I figured out that you can never go back in and edit the macro once saved. So yes, write it in Word and then copy it over, link the macros and save and forget. If you find you have to make changes, you have to delete and redo all of those steps. Thanks again!
Lots of good info... I think. You did a lot of assuming that we could read and see everything you did, but most of it is not visible and or not legible. I blew up the screen so big that the dithering was prohibiting reading it. I tried magnifying lenses. I tried step by step scrolling through the video.
Some of them just are not legible, or it is off the screen entirely.
Seemed like a lot of good info. Wish I could have learned it.
I usually do not tend to comment videos on RUclips, but this time i have to say a big "thank you"! Those Videos are great and helping me a lot! Thanks a lot man!
OMFG This is SO helpful - Thank you so much for your Master Series videos!! :D
My clearer and shorter than the other Roll20 macro video I just watched.
This was an awesome video. I love using the macros in Roll20 because it makes life to much easier.
Thanks for this video, it allowed me to finally create macros to allow players and NPCs to have a list of their spells to choose from without going to the character sheet. Involves a lot of small macros, but it does the job.
Wow... I know exactly what you did there. I imagine that was quite a few macros depending on the class (cleric would make me shudder lol).
Glad you like it Paul!
Yeah, it's unfortunate that the macros are so limited. I figure there's a maximum of around 30 of those little macros to cover a 20th level caster - unless I'm missing something. Not sure if there's some kind of limit to the number you can have, but can I stand scrolling past all those macros every time I use the settings tab?!?
HAHAHA I am a touch OCD myself... let's just say I feel your pain!
"And then down here (down where?), we're going to take this little formula and then paste it here." I saw the pasting part, but not the copying part. I watched that part of the video multiple times, and I have no idea where 'down here' is. I watched it at .25 speed. Still no idea.
I've made 2 sets of these, for myself as the gm and for the players. If you'd like to add an input option to include modifiers instead of just
[[?{How many}d?{Die type}]]
use this
[[?{How many}d?{Die type}?{Modifier?}]]
leave blank for no modifier, use a plus or minus for an advantage or disadvantage when the modifier prompt opens
This is freaking amazing!!! THank you so much. I just got to a point where macros were taking up way too much space on my screen. Voila!!! Problem solved. You are awesome.
I really wish I had found this series long ago. I know things have changed, but am finding tips in these I can use to tweak macros that I have tried to create
I am so excited for this. I've got one player who doesn't use the buttons on their player sheet so i might just set everything up this way.
I never thought about using stacked macros like this. Clever!
Now i'm trying this with the whisper actions from the previous vid but i cant get it working.
Got it to the point where the buttons show up and then the input box pops up but then it wont whisper.
Slightly confused haha.
Sweedrock, do this for me: make sure you are "building/writing" the macro in a document like word or wordpad or google docs. Then Copy/paste over the macro and see if that clears it up. sometimes when you try and go back and edit the macros, it gets all wonky.
Let me know.
The whole series is excellent, thank you, more people need to know about this. So I've told my friends! Liked, Commented and Subscribed!
Hi there!
First thank you very, very much for your extremely informative Roll20 instruction videos on RUclips! They really ad me going!
Ever since I saw the “nesting macros” video, I’ve been creating tables, macros and nesting. So cool! Unfortunately I cannot make the nested dice roller work for my players - and I’ve been looking into this many times to see, if I’ve overlooked something. All that happens, when they press one of the nested buttons, is the name of the die roller being showed in the panel. (E.g. pressing a “d20” results in the “#DiceD20” result. Nothing more.)
I hope you will help me, as the mainpart of nesting for me, is helping my players. (I’m playing the 100 % player-faced Symbaroum RPG, where the GM isn’t supposed to roll any dice.)
NESTED DIE-ROLLER
&{template:default} {{name=Terningeruller}} {{Vælg...=[1d4](! #DiceD4 ) [1d6](! #DiceD6 ) [1d8](! #DiceD8 ) [1d10](! #DiceD10 ) [1d12](! #DiceD12 ) [1d20](! #DiceD20 )}}
DIE-ROLLER MACRO (THIS EXAMPLE MACRO IS NAMED “DICED20”)
&{template:default} {{name=Ruller 1d20}} {{Resultatet blev=[[1d20]]}}
I sincerely apologize for any mis-spellings. As a Dane (a true Viking), English is not my native language.
Hail,
Sune “the Viking” Nødskou
Great guide. I was having some problems where the rolls wouldn't whisper the GM, but I realized I had a space following the semi colon in the stack macro text. Something to watch out for, if anyone else has this issue.
You can also link to macros that are found on character sheets in the Attributes and Abilities tab with: [Macro](! %{Character|Ability})
THANK YOU!!!! I LOVE THIS SO MUCH!
This is a brilliant 'How to' video! Dude, you're a Badass Mo'Fo!
Wow man... thanks! I do believe I will have to tell my wife I have officially received the moniker of "Badass Mo'Fo!" hahahaha!
Glad you like it my man.
You're Welcome and You are. Because you just made this game more enjoyable for me. I have been able to successfully create the Dice macro button on the bottom left, and make the dice buttons d4 thru d100 in the chat box work. However, I noticed that in your video (at exactly 1:00 minute), your dice roll displays the result in the chat box. I have not been able to figure this one out. Could you perhaps, make a another video describing what steps are needed to make this happen? Below are some links to show you, what you have and what I have....
What you have: s182.photobucket.com/user/mc_001/media/Capture%20001.jpg.html
What I have: s182.photobucket.com/user/mc_001/media/Capture%20002.jpg.html
Wayne, did you setup the dice macros from the video description? I think that may be the problem here. Try setting up this macro down below. Then try stacking it inside a (totally different) 'wrapper' macro.
/w gm &{template:npc} {{normal=1}} {{name=}} {{rname=D20}} {{mod=}} {{r1=[[1d20]] | [[1d20]]}}
Nope. No Dice. Excuse the pun. Still could not make it work. I sent you a private message on RUclips. Perhaps you might be willing to help me with what I stated on there.
If that didn't work... hmmmm... Are you playing 5e D&D WITH the 5e SRD sheets? If you are playing another system like pathfinder use this instead (just to test):
Setup a macro and name it D20
Then use this: /w gm [[d20]]
Then try stacking that macro into the dice roller
I just want to say thank you for all of these videos .... this one though of course would be where everything came tumbling down.... one punctuation mistake. 3 weeks of trying to trouble shoot all for one damn semicolon.. again thank you though very good videos
Slow and stead wins the race.
Love that Videos! Helps much more than the ROll20's Tutorial :-D
Greets from Germany!
helpful video, I have 5 tables set up each with their own macro, the formating looks great, but only the first box actually works. The other 4 do nothing, not even an error.
Is there any way to change the color of the buttons?
Cody...i love the npc generator concept...going to use it for my game 👍
4:35 i get the button to appear in my chat but it does not do anything when clicked anyone hit the same wall ?
Thanks for the help. Holy cow! I was having issues.
When using the general macro section. HTML entities like carriage return will revert upon reopening the macro and saving it again (for example if you want to do edits). I believe you explain this in a different video, but it might be an idea to add it here as well.
Thank you for the video! It would also have been worth to explain when you save your nested macro to save it somewhere else first, and don't reopen the global macro. Unless you save it in a character sheet. Otherwise, the code gets messed up because of html I believe.
Thanks for this heads up, I have been trying to work out why it keeps happening
Probably the cutest kid ever!!!
Hello Cody! Great video, helped a lot, BUT I have a question. After I'd created all the macros for rolling dice I noticed that before two results there is no text (e.g. creatures have 'Attack:' text before the result). There is just a colon and nothing more. And you have it in your video. I hope you'll read this
Thanks for this info, it was very useful.
What is "! " and why does it work.. seems to pass through the selected condition, but how would you ever find that out, without this video?
This is great.
Is it possible to set up a macro to give you an option to wisp or not to wisp the GM? like a toggle? Sometimes I want my players to see the dice. also maybe add a modifier to the dice roll option after the query.
Do you have a video or explanation of your bottom Macro bar series: Dice, Whisper, World Building etc?
These D4-100 macros work strange and don't show dice value in the template. Final result bellow the line is just " : 15 | 7 " (random numbers for an example).
I love this series, thanks a bunch. I am having some trouble though. When i try to use the 5e template, &{template:npc} it breaks the maco. I have to use the default as a result. I've just started to DM on Roll20 and haven't purchased any digital guilds/handbooks because i have hard copys. Any ideas why it's not working?
Is there a way to do this same thing in Token Actions for making a Nested Token Action for NPC spells?
Having issues with this. My Macro is /w gm [RollAttributes](! #RollAttributes) [CalculateHPMP](! #CalculateHPMP) [SetupBars]( #SetupBars). When I click on the links, all I get is the #Macroname (i.e. #RollAttributes). The macros work fine when run normally. Any thoughts?
Awesome, really helpful!
After 3 years still a great guide, there is video where you explain the npc macros?
Outstanding... I'd love to play in one of your games...
Loved the Video! This is going to take the Roll20 experience to a whole new level. I have a question about Stacking though. I rarely use the actually Macro list just in case another player has to run my character for a time. Would this work with Abilities in a character sheet as well? My end goal is to have like a spell, which has it's own template in it, show up in this "wrapper" as part of a spell book. So, a character ability in a template, calling another character ability that also has a template. Can this even be done?
Glad you liked it Manny!
Ok let's see.... you want to place a macro, casting a spell inside of another macro. Yes, easily done. The only part I see from your post that I'm not 100% sure of what you are aiming to do is the character calling another character ability.
But If you are trying to create this, start backwards:
1 Create a macro that casts a spell (Spell). Make sure the template is formatted the way you want the final output.
2 Open a word/wordpad/Google doc to do your "wrapper" (Spellbook) macro editing in (ALWAYS DO THIS!)
3 Start with the template, test. Add in your 1st spell macro. Test.
4 If everything is working, then start creating your additional spell macros. Be sure to do all editing in your wordpad/google doc, everytime you reopen the wrapper macro (spellbook) re-paste the entire macro in or it will break.
Your video inspired me and a buddy to work on it some more and we found an API wiki that is related to your button video. I was totally using the wrong Syntax for using Abilites.
Here is the syntax we found online. Hopefully we can plug it in and make it work so that anyone running the character can use it from the token actions. [Ability](! %{CharName|AbilityName})
Thanks So much for your help! Gonna keep watching your Master Series and learning more! You got a Sub in me.
is the dice stack macro considered an api? mine stoped working along with everything imade using this method
Awesome awesome video series!! Definitely gained a subscriber!
Stupid question...been wrestling this for hours and scoured your videos and the roll20 wiki but can't seem to get this to work. Am pretty sure you can't nest macro results from rollable tables. For example:
- Macro generates a room and determines it has 3 exits.
- Wrapper macro sees there are 3 exits and runs a new macro 3 times to determine what those exits are.
As I say, pretty sure roll20 won't let you do that. So I've created a separate macro that I'd like to ask me "How many exits are there?", and based on that, I execute the target macro however many times I choose. I've been trying to do it this way and it is not working...am I doing something wrong, will this just not work, or is there an alternate way of doing this?
/w gm ?{How many passage exits?|1,[[#DungeonPassage]] |2,[[#DungeonPassage]] [[#DungeonPassage]]}
I very much appreciate your help and expertise! This is truly an amazing series...best I've seen on how to get the most out of Roll20. I'm an automation and coding geek and can get lost in this for hours!
Nope. The rollable tables will only output text. You can't even format the text with break lines.
I've pretty much got everything except the Dice Query in the nested macro down. The display button for "d??" comes up under the DICE title, but when clicking on it, it doesn't do anything
hey taking 20, i connected the clickable chat boxes to different abilities that role an attack, but the outcome is not in a nice box and instead the full text although the ability makro for itself does it by using [ ]. btw great tip to handle dice rolls
You need to have a macro that outputs into a template. Start there first, then you can stack it into a button.
i did it :D didnt know the default template was avaiable for free users. thx for the help
Great! FYI all templates can be used in all games for free. They are each dependent on your game's "sheet".
Good stuff Cody, always lots to learn in your videos!
Thanks Darren.
So the code I have as a test is /w gm &{template:npc} {{rname=Treasure}} {{name=Treasure CR0-4}} {{Roll= [Copper](! & # 13; #Treasure:CR0-4Copper)}} using of course no improper spaces (as shown here) and yes I have the macro Treasure:CR0-4Copper set up. My issue is that it will correctly display the template with the names I've declared but will not call the macro. If, however, I put the macro call on a separate line, it will properly call the macro but will not display the template nor whisper. Can I get some advice? Great videos btw. Macros are just rather aggravating.
For the 5e npc rolling template, when I'm using it, notice that the rname is not displaying in front of the roll (before the colon). It displays up top where it should, in red, but not below the line. Can not figure out why. Wonder if the 5e rolling templates changed?
did you ever find an answer to this? I have the same issue.
It seems it depends on which template you're using, the first part of the code, npc in this case "&{template:npc}" I was not able to find a list of templates but in going through his macro's I found a few: &{template:npcaction} and &{template:npcatk} and tried those. worked in npcatk.
could you post your macro? I can't get it to work, switched to &(template:simple) for now but I really like the formatting for "npc" a lot better.
/w gm &{template:npcaction} {{name=}} {{rname=Dice Query}} {{description=[D4](!
#D4) [D6](!
#D6) [D20](!
#D20)[D100](!
#D100)}}
thanks for sharing. Still can't get the rname to show up, might try the roll20 forums and see if anyone has an answer.
I have a macros that will put buttons with other macros in the chatbox. Is there a way that only the person running the wrapper macro can see that?
Basically I'm looking for a workaround to /talktomyself not working with macros.
Hi Cody, I was wondering what parameters you use with what looks to be the NPC template in the beginning to get it to show a description separate from the rname. Furthermore, where are you putting the command buttons linked to the other macros, in the description parameter? It would be great to see what that macro looks like with the OGL template.
The first video in the Master Series has all of the macros that you are looking for. It's called Monster Manual. Hope that helps!
I'm trying to find out how to link the name of a spell on a spell list into a template button. More specifically, setting a nested macro for cantrips to have [Macro](! #MacroName) with the title of the button - where you type into [Macro] to indicate the name - to automatically generate the name for the spell-cantrip_$0 slot.
Any thoughts?
I know this is a really old video and I doubt that you'll even see this but when I make the macro with the selectable dice in it my clickable actions goes vertical instead of horizontally as yours does in the video. Any idea what could be causing that to happen?
I am following your template but I don't get a value in front of the " : ". The die roll works, the headers look fine, but I can't figure out why I can't get the label to appear in front of the " :number" any help would be great. Using the template:npc.
I had the same issue, but i figure out... perhaps you are using the roll20 sheet, and you need to place the code "type" to get the label to appear there... here is mine
/w gm &{template:npc} {{normal=1}} {{name=}} {{rname=D20}} {{mod=}} {{r1=[[1d20]] | [[1d20]]}}{{type=D20}}
Super helpful post video. However, I'm actually running into an issue. I have my macros with nested tables. They work perfectly and whisper to the GM. I have my wrapper macro that takes those.. macro tables. Again, works perfectly fine. I have my choices when I run the wrapper it whispers GM. But when I click those individual macros table buttons, the text is out loud.
For example:
Macro Table: /w gm &{template:default} {{name=Affectations}} {{description=[[1t[Affectations]]]}}
Wrapper Macro: /w gm &{template:default} {{name=Origins & Personal Style}} {{[Race](!
,#Race) [Ethnic-Origins](!
,#Ethnic-Origins) [Hairstyle](!
,#Hairstyle) [Clothes](!
,#Clothes) [Affectations](!
,#Affectations)}}
I got a problem for you: Have you successfully nested a wrapper within a wrapper?
Do these macros and "wrappers" still work? I can't figure out what's wrong with them (June 1st, 2019) (Update: After reading through the comments, it appears that the syntax has changed since the video was posted. Would you please update the video or write a solution in the description? @Taking20)
Can the "[Macro](! #MacroName)" also be used for Ability's? Tried this but it just rolls the attack with out the button in the chat.."[Attack](! %{selected|Shortsword})"
hey i was wondering if anyone could help me with something. I'm a 5e player and in my macro quick bar i've dragged all my damage dealing spells and i've also made macros for them with just a little bit of blurb text e.g. /me places his left whand on his outrstretched right wrist as he shouts fire in draconion.
My question now is would it be possible to combine these macros so that instead of 2 buttons there is only a need for 1 button in my macro quick bar. I already tried adding #(name of the spells quick macro) underneath the line for the blurb but that doesn't seem to work.
Hey man, I need help. Do you know if the macro coding has been changed? I set up the nested dice roller macro just as you did, and as long as I only hit test macro, it works. When I hit save changes and then try it out, Roll20 redoes the whole macro and it breaks. Any idea why this would be happening? It's driving me crazy.
Good question, have You solved this problem? Cause I am experiencing the same.
Yes the macro will get all screwy if you open it again or try to add anything to it. Write the macro into a file you can save, then place it into roll20. Then do not touch it once it is closed and it will work fine. If you open it and add to it, due to the #13 jazz it will get all screwy. Place it then leave it alone. If you alter it, grab from your saved file and paste the formula in.
Rapper macro here, yo bois, how you guys doin'?
Hello,
I have a question about the Macros Stack ...
I save the macro as you mentioned, in this format: [Macro](! 13;#MacroName)
After a while I use Macro to stop working, and when I check the characters " " disappear from the macro text. I need to re-create the macro to work again. Do you know what might be happening and how to avoid this situation?
Thank you! : D
They may have fixed the html since the video, try this, it worked for me.
[Macro](!#MacroName)
"Due to the order of operations, Macro calls nested within Roll Queries are fully expanded before the Roll Query is executed. This means that if a macro nested within a Roll Query contains any "problematic characters" that conflict with Roll Query syntax (such as "}" "," and "|"), that nested macro may cause the Roll Query to break (because the Roll Query will treat problematic characters in the called macro as Roll Query syntax).
If this is the case, it may be necessary to either remove those problematic characters (within the called macro itself), or replace them with HTML entities (see: Advanced Usage for Roll Queries).
Macros which contain HTML entity replacements may no longer function outside of a Roll Query. should be saved as Abilities.
Reopening a Collections Macro reverts HTML entities; if that Macro is then saved, those reversions are as well. This behaviour is not present within Abilities."
wiki.roll20.net/Macros
how do i set up that dice querry though? to make it ask me what TYPE of dice to roll? ive been stuck on this fro hours, cant seem to find anything online about it.
How would I adapt this for Pathfinder 2nd Edition?
First off, great tutorial series, it's really opened my eyes to how powerful roll20 can be. However, I'm having a problem with nested macros not being whispered to me when I press the pink buttons. The wrapper macro is whispered to me, and the individual macros are whispered, but when I try to access any macros via the buttons in the wrapper, they are broadcast to everyone. Any ideas?
Nevermind, figured it out. I had commas set before the macros in the wrapper. Thanks again!
@@Drakenvalt Can you tell me how do you do? I have the same problem
@@gukusama I have found that unlike other macro calls for whisper you don't want a space after the semi colon. I reference this thread that helped me. app.roll20.net/forum/post/8427213/help%7D-nesting-macro-not-whispering
Is there anyway to change the color of the button?
So, I am trying to use this concept with my attack rolls. Basically a Shell that then lists each of the available attack options for a character.
The first half works just fine. The Box comes up with pink buttons for the various attack macros I have. But when I hit one of the macros, instead of the macro executing it gives me a message. For example if I hit the Ranged attack button, I get a message saying #RangedAttack instead of the actual roll occurring.
Below is the macro as I understand it followed by my actual RangedAttack macro. There are no spaces in my actual macro for the ! section.
&{template:default} {{name=Attacks}} {{ATTACKS=[RangedAttack](! & # 1 3 ;#RangedAttack)}}
/em makes an attack with their ranged weapon.
[[d20 -5 +@{Proficiency} +@{DEX} +@{BAB}]]
Normal Hit [[3d8 +floor(@{Level}*.5)]] energy damage.
Stun Hit [[2d8 +floor(@{Level}*.5)]] stun damage
Any ideas?
Did you edit the macro after you saved it the first time?
Causes them to break.
Use note pad and write over the code if you edit.
I started over from scratch yet continue to have same thing occur. Sorry I am very new to GMing on Roll20.
It's so strange, When I make this macro [Macro](! #MacroName) it runs perfect, but if I attemp to change it again I find it transformed into [Macro](!;#MacroName) what it`s goin on? Do I have a problem?
Glad I watched this :)
Does this still work? I have tried inputting this into current free Roll20, it works, but when I hit save and close out of the wrapper/nesting macro, all of my lines referring to the actual macros break, and my gm whisper command is broken as well, doesnt look like this works today.
getting same result
Is it possible to do something like this within a token ability macro?
ok, so i have an idea, but im a newb at coding and don't know how to make the macro work well enough.
Spells lists.
NPC casters have spell lists, and i used your selected token spell macro from another video. I just placed in the main macro section instead of the token.
edited to work the in collections tab of the chat window.
Spell (spellslots OR innate casting):
/w gm %{selected|token_name|repeating_spell-npc_$0_spell}
if we have 3-5 of these, with corresponding spells in the character sheet, can we use a rapper macro to spit out buttons like the dice roller macro. kind of a 1 macro to rule them all.
ok, i figured it out.
Spell1
Mocro Bar /w gm %{selected|token_name|repeating_spell-npc_$0_spell}
Character Sheet /w gm %{selected|repeating_spell-npc_$0_spell}
Spell List
/w GM [Spell1](! #Spell1)[Spell2](! #Spell2)
The reason i have it in 2 places is because im not sure where it is pulling the information from.
Now for the hat trick that is totally beyond me. Replacing the name on the label from spell 1 to the name of the spell. say fireball. I do not know what the location is on the sheet where macros pull the spell name from. when i press the macro button on the Character sheet it spits out two d20 rolls, damage, and the spell name at the bottom. if you could insert that into brackets that would be the hat trick. then all spells would be accessible from the tokens and unused ones would come up blank or broken.
Anyone able to help? I entered the code for the stacked macro that included the normal d4 and d?? macros show in the video (not description). This worked fine and whispered the selection box to me. However once I selected a set to roll, it did not roll whispering to me. I then rolled the selected dice set with its individual macro and it whispered just fine. Any suggestions?
Maybe it's late, but! Inside this mumbo-jumbo (! #D4) there is a difference with what heading after (13). With ( , ) it would not whisper, but with ( ; ) it works as we want it to work.
Love your videos!
I'm trying to build the individual die macros with no success. I copied and pasted the D12 macro and all I get is a blank whispered message!
I bet I know what's going on. Have you set up the actual die roll macros yet? You need to set up one for each macro, THEN create a wrapper macro to call on them. Look down at the comments for my exchange with Wayne, he skipped the same step.
Let me know if that helps!
Cool! I got it to work (except for the dice query)! I can make the default template work, but not the 5ed template. What is the macro for the default 5ed template in general?
There are several, but this is the one I think is the easiest and cleanest to use. Behind each = you can just type in anything you want-- stacked macros, plain text, dice rolls, etc.
&{template:npcaction} {{name=}} {{rname=}} {{description=}}
Still struggling with this. Say I wanted to roll 1d20 to hit and 1d6 for damage using the above template?
Well, it sounds like you are trying to create an attack macro, in which case I think you should use the macro built into your sheets. The template I provided will only work for the 5E OGL Sheet. If you are playing with ANY other sheet, it simply will not work & you'll need to use the default template or that sheet's template.
Sample with the above template:
&{template:npcaction} {{name=SOME TEXT LIKE THINGS HERE}} {{rname=POSSBLY MORE TEXT, or not. It's up to YOU}} {{description=Attack:[[1d20]] DAMAGE, piercing [[1d6]]}}
See how I mixed it up there? You can be creative.
Ok i think i got it now thanks!
Hahaha I know that frustration... but I'm glad you like it and that you got it working! (don't forget to subscribe lol)
Next couple of videos will be on rollable tables and then putting that together with this video so stay tuned!
Hey, Little bit of trouble getting my grouped macros to work, I followed the video exactly and I can sucessfully get the first "Test Dice" macro to appear in the pink box in the chat, but when i click the pink box in the chat, nothing happens. I have created Macros for rolling the dice as posted in the description here, and they work perfectly fine if i just use them by themselves. But do nothing while in the pink Box, Also when i go to edit the "Test-Dice" Macro, it gets rid of the " ," section and moves the text to the next line underneith. I wrote all of the macros in microsoft word then copy pasted them over into roll20. I am at a loss. :(
My god.... it's a semi colon not a comma, FACEPALM. Rip 2 hours of life.
Bummer. But glad you got it up and working.
Hi guys. Sorry for my bad english i am from germany 🙂 I Create a macro that roll a number of d6 that i want and then it count the dices that roll a 5 or a 6. Here is the macro
&{template:default} {{name=Gamemaster}} {{Erfolge=[[{(?{Dice|0})d6}>5]]}}
I want to let this macro also count all dices that roll a 1 and show it in the next row. Can you Help me?
I don't have a lot of experience with dice pools in Roll20... but the forums might be a good place to get some help.
okay and thanks for the quick answer
I watched this video three times and i still cant get the buttons in my macro to show up! Where is the formula for that listed in the comments?
[Macro](! #MacroName)
So try this for me--
1 Create a macro and name it Test (capitalization matters).
2 Set the formula to: [[d20]]
3 Save
4 Test that macro to make sure it works (it should roll a d20)
5 Create a new macro and name it Wrapper
6 Put this exactly in the formula: [D20](! #Test)
7 Save and try it
Let me know!
@@Taking20 I have been enjoying you Master Series videos. However, I think that the wrapper macros have had the coding changed, as I can not get it to work. I followed the directions example directly above, and the first macro works fine. When I create the second macro, save it, and the text changes to "[D20](!#Test)" This creates the button, but will not do anything. Any suggestions on how to make the button actual do something would be greatly appreciated.
I play 3.5 at the moment with my dad. He uses this for his spells, but he uses the default template instead of the spell template. The reason for this, is the spell template does not work in the macro section. Is there anyway I can tweak the it to make the spell template fit in a nested macro?
+Nykolo Abarai the template won't work in the example. Templates are sheet dependant.
Either way. This is a really nifty trick. Been using this for my dice, as explained. I'm also using it as a sort of dictionary for conditions, and ability damage for the game I play. I don't often remember the effects, so just having to click, instead of flipping through an SRD really helps. Lol
I successfully created a stacked macro to emulate different critical effects from different kinds of weapons. For those of you who know it the infamous Good Hits Bad Misses Table from back in the day. My buddies and I saw that come out in Dragon mag. Any way... I wanted it to be usable by the players but I am getting a runtime issue. When a player runs it the box with the pink boxes comes up fine but then when you click the pink box it just prints out the name of the macro like #CritBlunt. Thoughts or help?
So i have a slight issue i thought i followed the steps here exactly but apparently not. I'm trying to get set up a stacked macro with my encounter tables in and well it doesn't stack it just rolls the 3tables individually and i have tinkered for about an hour now and cant figure it out. Any help would be great oh and FYI great content love it
This seems to be a reoccurring problem people are having. You have missed a step. You must FIRST create a macro that actually calls the table and rolls it.
Check out this video:
ruclips.net/video/vyuIA8F0OdA/видео.html
Then come back to this video and you can stack your macros.
Remember, you are trying to stack macros inside of macros; rollable tables are not macros if that makes sense?
Taking20 Makes perfect sense I had all ready set up the macros to roll the tables, something must of got lost somewhere I'll have to check over everything in the morning, to much thinking this close to bed.
Ha!
Making macros while in need of sleep can kick your butt!
Well finally got back round to toying with this again when the boss says would you like a 5Am shift i really need to learn to say no. Remade the previous table rolling macros and the "wrapper" macro and well same issue i click the macro and it rolls the 3tables separately. Could it have something to do with the table rolling macro using a template?
I am having a bit of problem with my nested macros that I want to use for multi attacking for my monsters. I am trying to make a nested macro to select which of the attack options to use. It is not seeing the names of the macros as macros like '/w gm &{template:npcaction} {{rname=Multi Attack}} } {{description=Select your Attack : [Bite,Claw,Claw](! #Test}) }' It is not running the macro it is just blank if I click the button. What am I doing wrong? I have to many monsters to make this macro for each one of them in my macro list is it possible to do it in the A&A section in the character sheet?
This happens when you set the macro, and then edit it. Use Notepad to write your macros, and then copy/paste over your existing code every time you edit.
The test Macro is %{selected|repeating_npcaction_$0_npc_action}
%{selected|repeating_npcaction_$1_npc_action}
%{selected|repeating_npcaction_$2_npc_action}
%{selected|repeating_npcaction_$2_npc_action}
The first macro works and the button appears but clicking the button just paste the macro name #Test. Is the problem that I am calling macros for the sheet or is something else wrong? If I name the macro Test in the character sheet should I just call it a #Test for my nested or something else? Copy And pasting does not fix the problem
Yes. You need to create a macro THEN create your nested macro. Do not nest straight from the sheet. (They break during updates anyway)
i can't seem to get this to work... The macros themselves work fine, but when i click the button, it doesn't whisper the rolls. it actually prints "/w gm" followed by the roll result. if i run the roll macro by itself, it whispers just fine and the wrapper macro whispers. Any ideas?
Try building your macro in wordpad/word/notepad and then paste it in your macro. DO NOT EDIT IT once you've put it in. (It breaks)
Taking20 thanks. I tried that this morning and it worked. for what ever reason, it wouldn't work by typing it directly into roll20
how do i create nesting whisper macros, trying to get that down.
How do you use the NPC template on the Dice Roller?
I dont like the default template, it looks plain and off
Doesn't work for me. After I save the macro it deletes, the "& # 1 3 ;". Test macro below.
/w gm &{template:default} {{name=Dice Table}} {{Dice=[D4](! #wd4)}}
Macros stored in the Collections tab will translate HTML if you reopen them, breaking the macro. Macros stored in the Abilities section of a character sheet won't. It's a good idea to create a character to backup macros with HTML so you can easily copy-paste them if you reopen and break them in the game's Collection section.
If anyone could put up the default template macro that causes the other macros to appear as boxes I would appreciate it. The 5e template only works in 5e D&D, not in any other game.
EDIT -- Nevermind -- Between this video and another 3rd-party forum, I managed to figure it out. Example --
&{template:default}{{name=Breath Weapon}} {{[Acid](!#Breathe-Acid)}} {{[Electric](!#Breathe-Electric)}} {{[Fire](!#Breathe-Fire)}}
etc. Please note the ! before the #. That's what I missed from the dithering of the video when trying to blow it up to read it.
Hey, so in following along, when I click the Pink box in the whispered macro, instead of rolling from the said table, it just prints the "#NPC_Appearance" in the chat instead of actually rolling from my table called NPC_Appearance. Here is the Macro string: "/w gm &{template:default} {{name=**Create NPC**}} {{Roll= [Appearance](! #NPC_Appearance) }}" Any idea why?
+Chris Salmassy did you edit it after you saved it?
no
Did you actually create a macro to roll the table?
It sounds like you are trying to call the table directly, which simply will not work. Check out my rollable tables video to setup a macro that will call from the table. (In a clean manor too, otherwise it will look really garbled)
Also, after saving and opening the MACRO again, the contents inside "& # 1 3 ;" are gone from the macro.
If I replace NPC_Appearance with another Macro name, it works when I click the pink box, but NONE of my rollable tables will trigger.
Is this only for 5e?
How do I align the text to the left?
When he said some dice I imagined a web with the words Some Dice scrawled across in webbing!!
If I am making macros for players and the macros are in the abilities section of the character sheet, how would I go about doing that?
Here is one that I created for my generators. It calls a Macro on a CHARACTERS sheet (their abilities section).
[Abyssal Corruption](! %{DMMacros|abyssalcorruption})
Here it is without the specific macro text:
[SOMETEXTHERE](! %{NAMEOFTHECHARACTER|NAMEOFMACROONSHEET})
Let me know if that works for you reliku!
That`s awesome, your way works! I was searching around and found another way of doing this yesterday by using [SOMETEXTHERE](~NAMEOFCHARACTER|[MACROONSHEET], still I like your way better as it uses real codes!
make that [SOMETEXTHERE](~NAMEOFCHARACTER|MACROONSHEET)
i keep trying this and i still cant get it to work. If i replace your text with my characters name, and the characters ability the button and template pop up in the chat window, but it gives me an "ERROR TYPE I is undefined "when I click the resulting button.
How to get Roll20 in the PS4 web browser plz
I basically want what you have in the vid minus the double rolls
/w gm &{template:npcaction} {{rname=Dice Roller}} {{name=}} {{description=Select your die type: [D4](! #D4) [D6](! #D6)}}
This will NOT work unless you have created a macro for each of the dice. Look at the video's description for creating each of those.
I want to use this for my treasure tables too but since the code disappears i cant just copy and paste this formula so i can use it again. So frustrating!
note pad, or wordpress.
Hi, I'm having issues getting any of the code working. Like the dice roller just puts out a blank box for me.
Never mind had to set default as template
What do you mean by that because I'm having the same issue and can't figure it out.
Jason Rouatt I didn't have a template set for character sheets so for every bit that a template is used I had to change that to default.
Ah, I see, got it, thanks
I need help ! Recently i tried to learn about macros of roll20. I have created a macro for the normal attack of my character BUT I CAN'T add the condition of crit happening . For example IF crit roll an extra d6 . Can someone help me ?
My current command is :
[[d20+@{Charactername|strength_mod}+@{Charactername|pb}]] for [[d6+@{Charactername|strength_mod}]] bludgeoning Damage
Note: If you named your macros with capital D's then you need to tweak this. Main dice roller macro: /w gm &{template:default} {{name=Dice Roller}} {{Dice=[d4](! #d4)[d6](! #d6)[d8](! #d8)[d10](! #d10)[d12](! #d12)[d20](! #d20)[d100](! #d100)[d??](! #d??)}}