Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Help me recreate a macro please

I had a player that was a masters at macros. But they left. And the macro they made for me vanished without a trace. And I'm not sure why. Anyway what it did was when I clicked the button for the macro in the bar, a drop down list of skills that appear in the character sheet would appear. And I would select one. Then it would tell me to select a token and I would then click a token that was representing a sheet. Then it would gmroll the skill of the sheet represented by that token. Like if I selected acana, then selected the wizard's token, it would then gmroll the wizard's arcana! I have no idea how to recreate it. Help please?
1493555553

Edited 1493556441
Ziechael
Forum Champion
Sheet Author
API Scripter
We've got your back Devlin ;) What sheet are you using? In essence though, what you are looking at is something like the following: /gmroll 1d20+?{Skill?|Arcana,@{target|arcana}|Insight,@{target|insight}| etc etc }
@ziechael I was looking at doing a similar function, but is there any way to get the roll from the actual sheet to do this? I ask because sometimes there are Sheet macros I have tied to certain skills that let me know if the person should have Advantage on the skill (like a Ranger doing a check in their Favored Terrain). Any suggestions?
Thank you, its the D&D 4e character sheet. Sorry about the long response I went to bed after posting. I had a problem, when I put in the macro and used it then clicked on a token, I got a an error. (To GM) rolling 1d20+(floor((10-10)/2)+floor(2/2)+1*5)+0+0 ( 3)+(floor((10-10)/2)+floor(2/2)+1*5)+0+0 /gmroll 1d20+? {Skill?|Acrobatics,@{target|acrobatics}|Arcana,@{target|arcana}|Athletics,@{target|athletics}|Bluff,@{target|bluff}|Diplomacy,@{target|diplomacy}|Dungeoneering,@{target|dungeoneering}|Endurance,@{target|endurance}|Heal,@{target|heal}|History,@{target|history}|Insight,@{target|insight}|Intimidate,@{target|intimidate}|Nature,@{target|nature}|Perception,@{target|perception}|Religion,@{target|religion}|Stealth,@{target|stealth}|Streetwise,@{target|streetwise}|Thievery,@{target|thievery}|}
1493592459
Ziechael
Forum Champion
Sheet Author
API Scripter
Devlin M. said: Thank you, its the D&D 4e character sheet. Sorry about the long response I went to bed after posting. I had a problem, when I put in the macro and used it then clicked on a token, I got a an error. (To GM) rolling 1d20+(floor((10-10)/2)+floor(2/2)+1*5)+0+0 ( 3)+(floor((10-10)/2)+floor(2/2)+1*5)+0+0 /gmroll 1d20+? {Skill?|Acrobatics,@{target|acrobatics}|Arcana,@{target|arcana}|Athletics,@{target|athletics}|Bluff,@{target|bluff}|Diplomacy,@{target|diplomacy}|Dungeoneering,@{target|dungeoneering}|Endurance,@{target|endurance}|Heal,@{target|heal}|History,@{target|history}|Insight,@{target|insight}|Intimidate,@{target|intimidate}|Nature,@{target|nature}|Perception,@{target|perception}|Religion,@{target|religion}|Stealth,@{target|stealth}|Streetwise,@{target|streetwise}|Thievery,@{target|thievery}|} Try this: /gmroll 1d20 + [[?{Skill?|Acrobatics,@{target|acrobatics}|Arcana,@{target|arcana}|Athletics,@{target|athletics}|Bluff,@{target|bluff}|Diplomacy,@{target|diplomacy}|Dungeoneering,@{target|dungeoneering}|Endurance,@{target|endurance}|Heal,@{target|heal}|History,@{target|history}|Insight,@{target|insight}|Intimidate,@{target|intimidate}|Nature,@{target|nature}|Perception,@{target|perception}|Religion,@{target|religion}|Stealth,@{target|stealth}|Streetwise,@{target|streetwise}|Thievery,@{target|thievery}}]]
1493592533
Ziechael
Forum Champion
Sheet Author
API Scripter
Fast Jimmy said: @ziechael I was looking at doing a similar function, but is there any way to get the roll from the actual sheet to do this? I ask because sometimes there are Sheet macros I have tied to certain skills that let me know if the person should have Advantage on the skill (like a Ranger doing a check in their Favored Terrain). Any suggestions? Could you supply a bit more info and maybe some examples of your efforts to date, also the sheet being used?
Thanks! That worked! :)
1493642294

Edited 1493653671
Ziechael said: Fast Jimmy said: @ziechael I was looking at doing a similar function, but is there any way to get the roll from the actual sheet to do this? I ask because sometimes there are Sheet macros I have tied to certain skills that let me know if the person should have Advantage on the skill (like a Ranger doing a check in their Favored Terrain). Any suggestions? Could you supply a bit more info and maybe some examples of your efforts to date, also the sheet being used? Hi Ziechael, The sheet is the D&D 5E Community Sheet and I've actually started another thread where I attempted to do the same thing with Saving Throws. I've tried going down a similar road with the Skills, but having the same issues. Here is my Saving Throws thread: <a href="https://app.roll20.net/forum/post/4986654/query-ma" rel="nofollow">https://app.roll20.net/forum/post/4986654/query-ma</a>... Would you have any advice for me?
Can Someone help me with this im close to want I want. I pretty much want exactly this Except when I roll it I would Like it to quarry Which type of environment they are in IE instead of where it says Forrest I want to be able to select which table to roll from&nbsp; &{template:default} {{name=Herbs Found}} {{Quantity=[[1d4]]}} {{Herb/Ingredient==[[1t[Forest]]]}} {{If Rare==[[1t[Roll-For-Rare]]]}} Here is a few of the current Outputs
Is this what you are looking for? &{template:default} {{name=Herbs Found}} {{Quantity=[[1d4]]}} {{Herb/Ingredient== [[1t[?{Table|Forest|Mountains|Hills}]]]} } {{If Rare==[[1t[Roll-For-Rare]]]}}
Kyle G. said: Is this what you are looking for? &{template:default} {{name=Herbs Found}} {{Quantity=[[1d4]]}} {{Herb/Ingredient== [[1t[?{Table|Forest|Mountains|Hills}]]]} } {{If Rare==[[1t[Roll-For-Rare]]]}} That's it! thanks alot
1493740627
Ziechael
Forum Champion
Sheet Author
API Scripter
Fast Jimmy said: Ziechael said: Fast Jimmy said: @ziechael I was looking at doing a similar function, but is there any way to get the roll from the actual sheet to do this? I ask because sometimes there are Sheet macros I have tied to certain skills that let me know if the person should have Advantage on the skill (like a Ranger doing a check in their Favored Terrain). Any suggestions? Could you supply a bit more info and maybe some examples of your efforts to date, also the sheet being used? Hi Ziechael, The sheet is the D&D 5E Community Sheet and I've actually started another thread where I attempted to do the same thing with Saving Throws. I've tried going down a similar road with the Skills, but having the same issues. Here is my Saving Throws thread: <a href="https://app.roll20.net/forum/post/4986654/query-ma" rel="nofollow">https://app.roll20.net/forum/post/4986654/query-ma</a>... Would you have any advice for me? The best thing about this community is that there is no shortage of helpful souls out there :) Looks like you've got it sorted, and then some!