GuitarMasterx7 commented on a Page, bot assign/unassign  -  Oct 07, 2010

Theres two dif ways i think you can do tha
you dun really need the lvl indicater if you have the isop in second line

on 1000:TEXT:!rembot *:#:{
  if ($nick isop $chan)

Theres this way[didnt test im in school]

on *:TEXT:*:#:{
   if ($nick isop $chan)
   var %c = $1 | goto %c
   :!bot | bs assign # $2 || /notice $nick Bot $2 assigned to $chan | halt
   :!rembot | bs unassign # $2 || /notice $nick Bot $2 unassigned from $chan | halt
   :%c | return
}

then theres this way

on *:TEXT:*:#:{
   if ($nick isop $chan)
   if ($1 == !bot) { bs assign # $2 || notice $nick Bot $2 assigned to $chan | halt }
   if ($1 == !rembot) { bs unassign # $2 || notice $nick Bot $2 unassigned from $chan | halt }
}
 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.