ProIcons commented on a Page, !Join and !Leave script  -  Nov 29, 2009
on *:text:*:#:{
  if ($ulevel == Admin) {
    if ($1 == !add) {
      if ($2-3) {
        if ($2 == OP) { auser op $3 }
        if ($2 == Admin) { auser admin $3 }
      }
      else { notice $nick !add level nick }
    }
    if ($1 == !op) { if ($2) && ($me isop $chan) && ($2 ison $chan) { mode $chan +o $2 } }
    if ($1 == !deop) { if ($2) && ($me isop $chan) && ($2 !isop $chan) && ($2 ison $chan) { mode $chan -o $2 } }
  }
  if ($ulevel == OP) {
    if ($1 == !op) { if ($2) && ($me isop $chan) && ($2 ison $chan) { mode $chan +o $2 } }
    if ($1 == !deop) { if ($2) && ($me isop $chan) && ($2 !isop $chan) && ($2 ison $chan) { mode $chan -o $2 } }
  }
}

Or

on *:text:*:#:{
  if ($ulevel == Admin) {
    if ($1 == !add) {
      if ($2-3) {
        if ($2 == OP) { auser op $3 }
        if ($2 == Admin) { auser admin $3 }
      }
      else { notice $nick !add level nick }
    }
  }
  if ($ulevel == Admin) || ($ulevel == OP) {
    if ($1 == !op) { if ($2) && ($me isop $chan) && ($2 ison $chan) { mode $chan +o $2 } }
    if ($1 == !deop) { if ($2) && ($me isop $chan) && ($2 !isop $chan) && ($2 ison $chan) { mode $chan -o $2 } }
  }
}

Or

on *:text:*:#:{
  if ($ulevel == 3) {
    if ($1 == !add) {
      if ($2-3) {
        if ($2 == OP) { auser 2 $3 }
        if ($2 == Admin) { auser 3 $3 }
      }
      else { notice $nick !add level(OP/ADMIN) nick }
    }
  }
  if ($ulevel >= 2) {

    if ($1 == !op) { if ($2) && ($me isop $chan) && ($2 ison $chan) { mode $chan +o $2 } }
    if ($1 == !deop) { if ($2) && ($me isop $chan) && ($2 !isop $chan) && ($2 ison $chan) { mode $chan -o $2 } }
  }
}
 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.