Greetings, I am writing some macros for reactions the player can take. For example, Cutting Words. I've already got it checking the class_resource to make sure the bard has some bonus actions available and to determine the die roll based on the base_level. However, I also want to display a message if they're already used their reaction (I have a reaction toggle that will toggle the Yellow status marker to indicate a character has used its reaction and I use OnMyTurn to clear that marker). But I want Cutting Words to be able to query the selected token for the Yellow status marker. I've tried the following but it always returns true even if the marker isn't there: !script {{
--#title|Cutting Words
--?@{selected|class_resource} -eq 0 |[
--+|[c][#ff0000]You are unable to use cutting words again until you complete a long or short rest[/#][/c]
--]|
--?@{selected|token_id} --@token_mod -ids @{selected|token_id} --get statusmarkers#yellow -eq 1 | [
--+|[c][#ff0000]You have already used your reaction this round[/#][/c]
--]|
--?@{selected|class_resource} -eq 0 | [
--=bardicInspirations|@{selected|class_resource} - 1
--+|[c]You have [$bardicInspirations] bardic inspirations remaining[/c]
--@setattr|_charid @{selected|character_id} _class_resource|[$bardicInspirations] _silent
--?@(Aust|base_level) -ge 15 |=inspirationDie;1d12
--?@(Aust|base_level) -lt 15 |=inspirationDie;1d10
--?@(Aust|base_level) -lt 10 |=inspirationDie;1d8
--?@(Aust|base_level) -lt 5 |=inspirationDie;1d6
--+|[c]Subtract[$inspirationDie] from the roll![/c]
--@token-mod --ids @{selected|token_id} --set statusmarkers#yellow
--]|
}}