Determine if 'Test' was used for piston execution


For reasons…I would like to determine if the piston was executed with ‘Test’. Currently using a hack with the remoteAddr passed in $args and it works, but is there a better solution?


can you see if $currentEventAttribute is test?


2nd example


Bingo! Thanks. Works as requested.