(Warning, noob here) I am trying to write a script that would result in a sendChat when a roll for a certain character is successful. The issue is that I would like to do this when the roll is made from a character sheet (whose html I can not change). A typical comment's content is like this: Content: 0 {{name=Guy -- Roc Ingersol }} {{title=first aid}} {{roll=$[[0]]}} {{roll_target=$[[1]]}}{{roll_difficulty=$[[2]]}} {{roll_half=$[[3]]}} {{roll_fifth=$[[4]]}} {{roll_fifth_1=$[[5]]}} {{roll_bonus=[Bonus / Penalty](~-M8hhavp0zBnI1kMrCHr|bonus)}}" I can detect when it was rolled by the character Guy, and give a result using chat:message , but I'm not sure how to check for success. The value for a roll button in the html is, for example, this @{roll_whisper} &{template:callofcthulhu} {{name=@{character_name}}} {{title=climb}} {{roll=[[1d100cs<1cf>@{roll_cf}]]}} {{roll_target=[[floor(@{climb}/@{dice_toggle}}} {{roll_half=[[floor(@{climb}/2)]]}} {{roll_fifth=[[floor(@{climb}/5)]]}} {{roll_fifth_1=[[floor(@{climb}/5)+1]]}} {{roll_bonus=[@{translation_bonuspenalty}](~@{character_id}|bonus)}} And in the roll template, it checks for success like so: {{#rollTotal() roll roll_target }} <div class="sheet-callofcthulhu-success" data-i18n="success">success</div>{{/rollTotal() roll roll_target }} Any help would be appreciated!