Hello, I've had a look at historic posts and whilst there are some people with similar issues posting i haven't seen many / any from recent years so some more eyes on the problem would be appreciated. I feel like i'm 99% of the way there but this last piece is stumping me. The games resolution system is roll under 1d10 with a variable comparator & variable target numbers. This also means that I need to retrieve multiple "complex" bits of info from the core resolution roll (there's also a secondary target number for full/partial successes but that's not causing any issues): Roll 1d10(r) & compare to character attribute(a) and target difficulty(D). if r>a then roll is bust. Perform (a-r-D) to get a negative margin of success. if r<a then perform (r-D) to get a potentially (normally) positive margin of success. 10 is always a fumble, exactly (a) is a crit success. The rub comes in that as far as I can tell, when using roll templates only the first major inline roll group can perform mathematical operations. This has lead me to try and condense all of the above logic into a single operation with mixed success into: [a-(1d10-D)-2D] The value of the round brackets provides the "success" margin of success, and the value of the square brackets gives the "bust" margin of success. I'm succesfully able to retrieve all of my desired information EXCEPT for the " bust " margin of success, i suspect this is because i am trying to call an index number for an inline roll that is both earlier in the order of operations but also part of the same overall inline roll operation. In the below code snippet @{awareness} is the character attribute being targeted by this particular roll: value = "&{template:checks} [[ @{awareness}-[[ [[d10cs@{awareness}cf10]]-[[?{Difficulty|1}]] ]]-(2*$[[1]]) ]] {{bustmos=$[[6]]}} {{mos=$[[2]]}} {{title=Awareness (@{awareness})}} {{roll=$[[0]]}} {{aspect=[[@{awareness}]]}} {{subtitle=@{character_name}}} {{difficulty=$[[1]]}} {{risk=[[?{Risk|1}]]}}" < rolltemplate class = "sheet-rolltemplate-checks" > < div class= "sheet-container" > < div class= "sheet-header" > {{ #title }} < div class= "sheet-title" > {{ title }} </ div > {{ /title }} {{ #name }} < div class= "sheet-name" > {{ name }} </ div > {{ /name }} {{ #subtitle }} < div class= "sheet-subtitle" > {{ subtitle }} </ div > {{ /subtitle }} </ div > < div class= "sheet-content" > < div class= "sheet-targets" >< span > Difficulty: </ span > {{ difficulty }} Risk: {{ risk }} </ div > {{ #roll }} < div class= "sheet-roll" > < span > Roll: </ span > {{ roll }} </ div > {{ /roll }} {{ #rollLess () roll difficulty }} < span class= "sheet-fumble" > Difficulty not met. MOS: </ span > {{ mos }} {{ /rollLess () roll difficulty }} {{ #rollLess () roll risk }} < span class= "sheet-fumble" > Risk not met. </ span > {{ /rollLess () roll risk }} {{ #rollBetween () roll risk aspect }} < span class= "sheet-success" > Full Success. MOS: </ span > {{ mos }} {{ /rollBetween () roll risk aspect }} {{ #rollGreater () roll aspect }} < span class= "sheet-bust" > Roll is bust. MOS: </ span > {{ bustmos }} {{ /rollGreater () roll aspect }} {{ #rollWasFumble () roll }} < span class= "sheet-fumble" > Complication. </ span > {{ /rollWasFumble () roll }} {{ #rollWasCrit () roll }} < span class= "sheet-critical" > Crit Success. </ span > {{ /rollWasCrit () roll }} </ div > </ div > </ rolltemplate > This gives outputs as below in the sheet sandbox: Full success: And bust: It isn't obvious from the screenshot above but the output of {{bustmos}} appears to be currently picking up the value of the {{aspect}} inline roll. But counting out the order of operations myself, it looks like I should want $[[3]]. Much appreciation for anyone who read all of the above and anyone that's able to provide some assistance / clarity.