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 Macro Names When Playing

1629001221

Edited 1629001555
Guys, I'm new to this Macros issue and that's why I still don't know how to do them right. I just need something simple. I want the name of what we're running in the chat to come out and not the formula I'm using. For example, Player 1 rolled "Mega Power". These are the formulas I am using as the game is based on successes. If anyone can help me I would appreciate it. 1º - /r ?{Dice}d10>7f1 2º - /r 10d10>7f1
1629002681

Edited 1629003935
@{charactername} rolled @{megapower} & gets a [[ ?{Dice}d10>7f1 ]] Something like this? Add brackets to whatever roll formula you want (e.g. inline roll) to get a roll result, rather than showing all of the formulas. **Edit** Copy & paste the code below into your chat to see if this is what you're looking for: rolled Megapower & got a [[ ?{Dice}d10>7f1 ]] If what you're looking to do is "hide" the roll result from your players, you may be looking at something more like: rolls Megapower /gmroll [[ ?{Dice}d10>7f1 ]] But keep in mind if you use this option, your players will not see any roll results (only the 3D dice, if you have them enabled). You can also an an "/em" to the beginning of your inline rolls, to make them stand out more: /em rolled Megapower & got a [[ ?{Dice}d10>7f1 ]]
More or less I believe. This formula is giving error when I try to use it as below. In the CHAT formula, when we roll something, it appears as follows: Player 1: rolling 4d10>7f1 Stamina Where in this case with the formula it is showing "who rolled the dice" and the formula. I want in the case of the formula to show what was rolled.
1629004293

Edited 1629004810
I'm not following (edit ~ I'm really tired, so, sry if I'm overlooking something). Give me a detailed example of what you're trying to do (no code). Such as... are you wanting to create a macro that your players can both use & see the results of... one that only you can see the results... or a macro that dynamically changes each time it is used... etc? **Edit** I'm at my limit. I gotta sleep. If nobody has helped you come tomorrow, I'll see what I can do then.
1629005571
Kraynic
Pro
Sheet Author
I tried all of Proelium's macros in a test game and they all worked. I had it roll 2 dice each time. Note that the formula you are using is giving the number of successes (rolls of 7 or higher on each die).&nbsp; If you are expecting something else, then you will need to change the formula you are using, because that is what using successes looks like. <a href="https://wiki.roll20.net/Dice_Reference#Target_Number_.28Successes.29" rel="nofollow">https://wiki.roll20.net/Dice_Reference#Target_Number_.28Successes.29</a>
It's like that people... I need the successes count to come out according to this image. And where the formula is written, the "name of what I'm rolling" comes out. For example: Mega-Attribute. I don't know I'm being clear
1629038530

Edited 1629040472
No need to get testy. Due to the flexibility in Roll20 it is easy to be misunderstood (I'm saying that from experience). Anyway... If I'm understanding you correctly, you want your results to look like this screenshot (of a roll result in one of my games): If THIS is what you're looking for, it'll be a little more involved than simply creating an on-screen macro for you or your players, &amp; you won't get it through a normal macro text. You have to be using a Roll Template , &amp; create a macro through your PC Sheets (or equivalent macro chat code) exactly the way the template is formatted. For example.... I create custom character sheets &amp; embed my custom template parameters into the button used. In your case, you'd have to have a roll template (see the link above) &amp; do something like THIS . **Edit** Regardless of your subscription level, you'd have access to the default roll template, which means you'd just have to make sure you're creating macros using the default format. Read those articles &amp; threads I linked for detailed info on that. I'll post an example below (on a fresh post).
1629039325
Kraynic
Pro
Sheet Author
Ok, if you want that look to the roll, then you have to use /r and you can't use the inline roll syntax with square brackets at all.&nbsp; Your macro will need to be 2 lines, so that one gives the label of what is being rolled for, and the other will be the roll with the formula displayed. /em rolls Megapower /r ?{Dice}d10&gt;7f1
Nice catch Kraynic. I forgot about using "em" that way. Before I started using templates I remember doing it that way.
1629040314

Edited 1629040689
Default roll template example: &amp;{template:default} {{name=Megapower}} {{attack=[[?{Dice}d10&gt;7f1]]}} {{damage=[[2d12]]}} Copy that EXACTLY as it is written &amp; paste it in your chat. If you're using the default PC sheets, it should output a structured result. **Edit** Like this... Hover your mouse over the results (in your game chat, after you C/P the formula above into your game) to see how the roll was calculated.
Thanks Guys, The idea of ​​Kraynic will meet what I need and Proelium......man thank you very much for your help also on the links. I will study this so I can learn more. I wasn't very clear about one thing also saying that I'm playing Aberrant which is a White Wolf system and that's why he asks for these hits things. In other words, this base of showing attack and damage is more for D&amp;D and this complicates the system a little bit. But with this idea, it will help other people. Thanks
Harion S. said: Thanks Guys, The idea of ​​Kraynic will meet what I need and Proelium......man thank you very much for your help also on the links. I will study this so I can learn more. I wasn't very clear about one thing also saying that I'm playing Aberrant which is a White Wolf system and that's why he asks for these hits things. In other words, this base of showing attack and damage is more for D&amp;D and this complicates the system a little bit. But with this idea, it will help other people. Thanks NP man. On the note of what the roll template shows. That is easily editable. So, when you're ready to step up from using the "em" trick, &amp; you learn more about roll templates, I'm sure you'll find what you're looking for. Happy gaming! Here's an example of what I mean about how editable it is: &amp;{template:default} {{name=Megapower}} {{Skill Bonus=?{Skill Bonus|0} }} {{Stat Bonus=?{Stat Bonus|0} }} {{Roll= [[ ?{# of Dice|5}d10?{Vs|&gt;3f1} + {Skill Bonus} + {Stat Bonus} ]] }} Just make sure you put that in your chat (or macro) exactly as it's typed (don't break the lines). You can adjust the stats as you see fit. The lower case "name" is the roll template format, while the upper case names (e.g. Skill Bonus) are the custom parameters I put in there. The result will look like this (&amp; note that I hovered over the roll result so you can see how R20 calculated it).