My GM is using a custom system. we roll a 1d100 and try to roll under a target stat. If we hit we then roll again against a critical stat to see if we crit. If this was php i'd have it in a heartbeat. All i'm trying to do is something like this: /me attaks If { (1d100 <= $SuccessStat) "and hits"; If { (1d100 <= $CritStat) " critically"; } } else { " and misses" } again is this even possible?