First check that your event is triggering at all, put an /echo or a /msg in the event (outside of the /if statement) and make sure that it appears when it should.