guest598594 commented on a Page, Simple Owner/Deowner Script  -  Nov 04, 2008
  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
}
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.