on *:text:*:#: { if ($1 == !bla) { do stuff } elseif ($1 == !moo) { do stuff } elseif ( %skill [ $+ [ $nick ] ] > 0 ) { rest of code } }