on *:text:!wl*:#: { if ($2 == null) notice $nick Please specify a user to add to the exeption list elseif ($nick isop $chan || $nick ishop $chan) { write wl.txt msg $chan $2 has been added to the exeption list } else { notice $nick $nick You do not have the right access to do this. } }