guest598594 commented on a Page, Simple Ops using $istok  -  Sep 05, 2007

i would put the two on text\'s together

also, +q and +a and +h are only available for chanserv

also, i think a global variable would be better

nicks seperated with a space is fine since they are only one word each, delimeter as 32

i also think its kind of silly that they have to type !up or !ups to get their status, sholdnt it be in an on join?

on *:join:#:{
  set %voices NICK1 NICK2
  set %ops NICK1 NICK2
  set %voicescs NICK1 NICK2
  set %halfopscs NICK1 NICK2
  set %opscs NICK1 NICK2
  set %protectscs NICK1 NICK2
  if ($istok(%voices,$nick,32)) mode # +v $nick 
  if ($istok(%ops,$nick,32)) mode # +o $nick 
  if ($istok(%voicescs,$nick,32)) cs voice # $nick 
  if ($istok(%halfopscs,$nick,32)) cs halfop # $nick 
  if ($istok(%opscs,$nick,32)) cs op # $nick 
  if ($istok(%protectscs,$nick,32)) cs protect # $nick 
}
menu * {
  Status Giver
  .Chanserv
  ..Add an Op: $addtok(%opscs,$?=\"Who would you like to add?\",32)
  ..Add a Voice: $addtok(voicescs,$?=\"Who would you like to add?\",32)
  ..Add a protect: $addtok(protectscs,$?=\"Who would you like to add?\",32)
  ..Add a halfop: $addtok(halfopscs,$?=\"Who would you like to add?\",32)
  .W/O Chanserv: 
  ..Add an Op: $addtok(ops,$?=\"Who would you like to add?\",32)
  ..Add a Voice: $addtok(voices,$?=\"Who would you like to add?\",32)
}

i also added a menu to add nicks to voice, halfop, etc...using $addtok

 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.