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 .
Advertisement Create a free account

Macro with multiple modifiers

I am playing Gurps. Is it possible to make a macro that rolls 3d6, and then adds several popups, where the number added in the popup adds or subtracts from the roll? And then get one output value? Possibly connect that to token/character and a skill. Same as the Gurps macros from the sheet but with my own output values in several popup tokens.&nbsp; Also how to add character fro sheet or token in macro? Example: Roll 3d6+/-hit location+/-light+/-posture+/-cover against skill in sheet Output now from sheet. Yrsa Quarterstaff thrust Type : Melee Attack Roll: <span class="inlinerollresult showtip tipsy-n-right importantroll" original-title=" Rolling 3d6 = ( 4 + 1 + 6 )" style="box-sizing: content-box; background: green; border: 2px solid green; padding: 0px 3px; font-weight: bold; cursor: help; font-size: 1.1em; color: white;">11 &nbsp; Hit Target : 14 &nbsp; (Effective Skill)

Edited 1634206976
Forum Champion
Sheet Author
API Scripter
Sure thing, at it's simplest you are looking at something like: @{selected|token_name} does a thing: [[ 3d6 + ?{Hit Location|0} + ?{Light|0} + ?{Posture|0} + ?{Cover|0} ]] vs [[ @{selected|skillname} ]] or, without a token selected but less dynamic: @{Yrsa|character_name} does a thing: [[ 3d6 + ?{Hit Location|0} + ?{Light|0} + ?{Posture|0} + ?{Cover|0} ]] vs [[ @{Yrsa|skillname} ]] You can find out more about macros in the help center .