if ($nick == %owner) { /mode $chan -q $2 } if ($nick != %owner) { /notice $nick 4Acess Denied Noob!! :| }
After the first if, you can just use else.
if ($nick == %owner) { ;he's the owner } else { ;he's not the owner }