Hi guys, i'm a total amateur when it comes to macros and api scripts, but i've been messing around with the wonderful it's a trap api and wanted some way for players actively scanning for traps to find them without just relying on their passive perception. So I put together some simple macros to display a status icon for trap checking and temporarily swap out passive perception for a perception check (using 5e rules) to have a better (or sometimes worse!) chance at spotting traps etc. I'm using the tokenmod and setattr api's. I thought this might be handy for some people, but also I thought I might be doing this in a rather clumsy way so would love any help or criticism. In particular i'd love to turn this into a single macro that just switched passive/active perception on/off but I can't figure that out (yet). Also if anyone knows how to make this disregard a roll that comes up lower than existing passive perception i'd be much obliged. Check for traps on: !token-mod --set statusmarkers|bleeding-eye !setattr --sel --passive_wisdom|[[d20+@{selected|perception_bonus}]] Check for traps off: !token-mod --set statusmarkers|-bleeding-eye !setattr --sel --passive_wisdom|[[10+@{selected|perception_bonus}]]