Couldn't you just use the ! prefix on the event to stop it working for yourself?
on !*:NICK: {
That's what I've been told the ! prefix does, but I'm not 100% sure on it.