Apply Op, Admin, Helper/Halfop

By miniCruzer on May 25, 2009

Users can apply for position as administrator, operator, or halfoperator. It notifies them that they've been added to the list, and sends a Memo to you (through memoserv). You should put this in your bot. If the user does not know how to use MemoServ, it gives them instructions (from my !help bot).

Be sure to change #yourchan and

Really no point here. I just made it for my channel because I was looking for ops and admins. And technicians, but not everyone has a support channel, so I got rid of that one.

Put in Remotes.

on 1:TEXT:!admin:#yourchan:{
  msg $chan 3 $+ $nick has applied for position as: 3,2administator
  msg $chan You've been added to the list, and you'll receive a memo upon answer.
  msg $chan 4!MemoServ 2,3for help
  .msg MemoServ send <YOURNICK> $nick has applied for admin.
}
on 1:TEXT:!op:#yourchan:{
  if ($nick != isop) {
    msg $chan 3 + $nick $+ 2 has applied for position as 12OPERATOR
    msg $chan You've been added to the list, and you'll receive a memo upon answer.
    msg $chan 4!MemoServ 2for help
    .msg MemoServ send <YOURNICK> $nick has applied for op
  }
}
on 1:TEXT:!halfop:#yourchannel: {
  msg $chan $nick has applied for position as halfop
  msg $chan $nick You've been added to the list, and you'll receive a memo upon answer
  msg $chan Type !MemoServ for help
  msg MemoServ send <YOURNICK> $nick has applied for halfop
}

on 1:TEXT:*:#YOURCHAN:{
  if ($1 == !MemoServ) {
    msg $chan 9MemoServ is used to send messages to channels or nicknames (registered), esp. when they are not online.
    msg $chan 4You can operate MemoServ by typing 7/ms help
    msg $chan 5To read any messages, type 4/msg list
    msg $chan 10To send a message, type 12/ms send <nick> <message
  }
}

Comments

Sign in to comment.
miniCruzer   -  May 26, 2009

Super over my head, there. But thanks

 Respond  
WorldDMT   -  May 26, 2009

hi

why this repetition?
u can do this if u want.

on *:text:*:#yourchan:{
  tokenize 32 $strip($1-)
  if ($1 == !MemoServ) {
    msg # 9MemoServ is used to send messages to channels or nicknames (registered), esp. when they are not online.
    msg # 4You can operate MemoServ by typing 7/ms help
    msg # 5To read any messages, type 4/msg list
    msg # 10To send a message, type 12/ms send <nick> <message>
  }
  elseif $istok(!op.!halfop.!admin,$1,46) {
    msg # 3 $+ $nick $+ 2 has applied for position as 12 $+ $replace($1,!op,OPERATOR,!halfop,HALFOP,!admin,ADMINISTATOR)
    msg # $nick You've been added to the list, and you'll receive a memo upon answer.
    msg # 4!MemoServ 2for help
    msg MemoServ send <YOURNICK> $nick has applied for $mid($1,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.