#
# make valis leave the channel if ANYONE asks it to
# as long as it is not a channel op
#
bind msg - go msg_go

proc msg_go {nick uhost hand args} {
  global channel
  if {![botisop]} {
    putserv "privmsg $channel :$nick asked me to leave.  Bye!"
    putserv "part $channel"
    return 1
  } {
    puthelp "notice $nick :Sorry, I'm a channel op."
    return 0
  }
}