Advertisement
westor

Blank Messages Ban for Kendy v1.1

Nov 12th, 2020 (edited)
2,483
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.58 KB | None | 0 0
  1. alias -l channels { return #one,#two,#three } ; # = all the joined channels
  2. alias -l ban_with_kick { return 1 } ; 0 = only ban without kick
  3. alias -l ban_time { return 3600 } ; 3600 = 1 hour - 0 for permanent ban
  4. alias -l ban_type { return 2 } ; https://en.wikichip.org/wiki/mirc/identifiers/$mask for all the available bantypes
  5. alias -l ban_reason { return [Banned]: You are NOT allowed to send blank messages here! }
  6.  
  7. ON $*:TEXT:/^[\x20\x0A\x0D\x09\xa0\x85\x202F]+$/Su:$($channels): { msg $chan ban - $+ $iif($ban_with_kick,k) $+ $iif($ban_time,$+(u,$v1)) $chan $nick $ban_type $ban_reason }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement