Bullet_Dodger commented on a Page, Bot Commands  -  Nov 24, 2008

Do

;;;;;;;;;;;;;;;;;;;;;;;;;;;
;                         ;
;      Bot Commands       ;
;        By Dj 801        ;
;                         ;
;   irc.wubnet.org:6667   ;
;      #dj801,#bots       ;
;                         ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;
on *:LOAD: {
  /set %bot-chan $$?="Bot Command Channels:"
}
Menu Channel {
 Bot
 .Channel
 ..Show Channel:echo -a %bot-chan
 ..Change Channel:set %bot-chan $$?="New Channel:"
}
on 9999:TEXT:*:%bot-chan: {
    if ($1 == !op) { mode $chan +o $2- | halt }
    if ($1 == !deop) { mode $chan -o $2- | halt }
    if ($1 == !ban) { mode $chan +b $address($2,2) | kick $chan $2 | halt }
    if ($1 == !kick) { kick $chan $2 | halt }
    if ($1 == !hop)  { mode $chan +h $2- | halt }
    if ($1 == !dehop) { mode $chan -h $2- | halt }
    if ($1 == !voice) { mode $chan +v $2- | halt }
    if ($1 == !devoice) { mode $chan -v $2- | halt }
    if ($1 == !-m) { mode $chan -m | halt }
    if ($1 == !+m) { mode $chan +m | halt }
    if ($1 == !censor-off) { mode $chan -G | halt }
    if ($1 == !censor-on) { mode $chan +G | halt }
    if ($1 == !topic) { topic $chan $2- | halt }
  }
}

Then you chose who uses it

 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.