AutoOP

By UTUCS.com-Admin on Feb 12, 2004

This is an auto-OP on join script.

ON !*:JOIN:#: {
  if ($istok(%autoop,$nick,32)) && ($me isop $chan) {
    mode $chan +o $nick
  }
}

alias autoop_set {
  %autoop = %autoop $1
}

Comments

Sign in to comment.
UTUCS.com-Admin   -  Feb 17, 2004

I thought it was like ON @*:TEXT: where @ is only for OPs.

 Respond  
sailoreagle   -  Feb 13, 2004

Why not just use ON @!*:JOIN:#: to make sure the script triggers only when somebody -else- joins the channel and you\'re an op, rather than the extra if check ($me isop $chan)? Why not just use mIRC\'s internal auto-op list, for that matter? That way you can have per-channel auto-opping... which this script doesn\'t seem to allow for...

 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.