Advertisement
outsider

simple eggdrop chanserv support

Oct 24th, 2018
1,524
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.36 KB | None | 0 0
  1. setudef flag chanserv
  2. bind need - * fixurges
  3. proc fixurges {chan type} {
  4.     global botnick
  5.     if {![channel get $chan chanserv]} { return }
  6.     switch -- $type {
  7.         "op" { putserv [format "PRIVMSG ChanServ :op %s" $chan] }
  8.         "unban"{ putserv [format "PRIVMSG ChanServ :unban %s %s" $chan $botnick] }
  9.         default { putserv [format "PRIVMSG ChanServ :invite %s" $chan] }
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement