i was assuming you needed to detect the event itse...
# suitescript
a
i was assuming you needed to detect the event itself though, if you just need to detect the state and not the event, that's much easier