Guest User

Untitled

a guest
Sep 13th, 2018
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
TCL 0.68 KB | None | 0 0
  1. proc e:remspm {n u h type} {
  2.     if {[e:isexempt $n $h $u]} {return}
  3.     set ban [e:makeban $n $u]
  4.     if {![string match $ban $::botname]} {
  5.         newban $ban $::botnick [subst $::espam(Reason)] $::espam(BanLast)
  6.     }
  7.     foreach chan [channels] {
  8.         if {[onchan $n $chan]} {
  9.             e:bannick $ban $chan
  10.             putkick $chan $n [subst $::espam(Reason)]
  11.         }
  12.     }
  13. }
  14.  
  15. proc e:remspm {n u h type} {
  16.     if {[e:isexempt $n $h $u]} {return}
  17.     set ban [e:makeban $n $u]
  18.     if {![string match $ban $::botname]} {
  19.         newban $ban $::botnick [subst $::espam(Reason)] $::espam(BanLast)
  20.     }
  21.     foreach chan [channels] {
  22.         if {[onchan $n $chan]} {
  23.             putkick $chan $n [subst $::espam(Reason)]
  24.             e:bannick $ban $chan
  25.         }
  26.     }
  27. }
Add Comment
Please, Sign In to add comment