Hmm...

Read This:

ON INPUT: Triggers when you enter text in an editbox in a channel window and press enter. You
should not check ($nick = $me )