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

Greater/Less Than only (does not include equal to)

Hi. I've looked all over the forums for this one and can't find it. I know the wiki says that < and > already include = and it is reiterated a lot here. I've only seen workarounds for things that specifically will not work for my problem. So, I want to detail the game mechanic I am trying to put in a macro button and show you all the syntax I have so far. So, there's a weight (in tons) and gravity resistance rating (G's of earths gravity) and together these create the "Push Points", the number players have to roll over  in order to push an object. Ok. So, I REALLY can't use >, which includes "greater than or equal to", because the "equal to" part means a failure to move the object. So, many players are struggling with adding the +1 every time they used the macro and we'd have to back track just to figure out what went wrong. Here's my syntax so far. &{template:default} {{name=ROLLS :: Pushing ?{Push Points Plus One? = (Weight plus Gravity Resistance and add one more)} ::}} {{?{Your character's name?} vs. ?{Object tons} tons in ?{Gravity Resistance rating?|1}=[[1d20cs>?{Push Points Plus One? = (Weight plus Gravity Resistance and add one more)}]]}} How do I do this? A simple "Greater than" WITHOUT the equals to included???
1588725698
GiGs
Pro
Sheet Author
API Scripter
The only way to do this in roll20 is to include the +1 in your macro. Maybe something like this: &{template:default} {{name=ROLLS :: Pushing ?{Push Points? = (Weight plus Gravity Resistance)} ::}} {{?{Your character's name?} vs. ?{Object tons} tons in ?{Gravity Resistance rating?|1}=[[1d20cs>[[1 + ?{Push Points? = (Weight plus Gravity Resistance)}]] ]]}}
I'll give it a shot...
I get the following: ROLLS :: Pushing&nbsp; 9 &nbsp;:: A vs. 20 tons in 5 <span class="inlinerollresult showtip tipsy-n-right" original-title=" Rolling 1d20cs>9 = ( 5 )" style="box-sizing: content-box; background-color: rgb(254, 246, 142); border: 2px solid rgb(254, 246, 142); padding: 0px 3px; font-weight: bold; cursor: help; font-size: 1.1em;">5 I can't really read the yellow with white font. Anyway to change this? (FYI, the calculation/syntax/macro part did work). In the first section where I repeat the Push Points, I just don't include the [[1+]], because the players just need to see the Pushing Points correctly and it then it out put something like this: ROLLS :: Pushing 7&nbsp;&nbsp;:: A vs. 20 tons in 5 <span class="inlinerollresult showtip tipsy-n-right" original-title=" Rolling 1d20cs>9 = ( 5 )" style="box-sizing: content-box; background-color: rgb(254, 246, 142); border: 2px solid rgb(254, 246, 142); padding: 0px 3px; font-weight: bold; cursor: help; font-size: 1.1em;">5 As you can see, there's a normal looking 7 there, but I input a 6 in the pop-up menu and so, it works. Thanks!