on *:TEXT:!botcommands*:#:{ if ($nick isvoice $chan || $nick isreg $chan) { stuff here ) } on *:TEXT:!botcommands*:#: { if ($nick isop $chan || $nick ishop $chan) { stuff here ) )