Hi all, hoping I could get some help regarding making a if/then with an API script. I've wrapped my head around Macros, but I'm not familiar enough with Java Script to create my own solution. Currently I'm trying to wrangle a solution to the following: I want to get a script running that will to a 4dF roll with an attribute with a minimum possible value equal to a second attribute. Or, to put it another way... Roll (4dF+Combat Attribute) = Result; IF Result < Defense Attribute THEN show Defense Attribute; ELSE show Result I'm currently trying to pull this off with Extended Expression script and while I could get the author's similar example to work, I just can't wrangle a result with what I want, even if I just change the elements in the example script. For one, the script doesn't like inline dF rolls and only gives a 0 result, even with modifiers to raise the possible values above 0. Second, well, second again is that I'm not very familiar with scripting so as a result when I try and write out the script myself it doesn't recognize my roll. Any guidance, advice, or an up-to-date script of the same nature would be a big help. Thank you!