daily pastebin goal
57%
SHARE
TWEET

Affected bans

Seb Sep 13th, 2012 (edited) 169 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on *:BAN:*: {
  2.   var %i $ial(*,0)
  3.   var %nicks
  4.   var %banmask $iif($numtok($banmask, 58) > 1, $gettok($banmask, 2, 58), $banmask)
  5.   if (%banmask == *!*@*) { %nicks = everyone }
  6.   else {
  7.     while (%i > 0) {
  8.       if (%banmask iswm $ial(*,%i)) {
  9.         %nicks = $addtok(%nicks, $gettok($v2, 1, 33 ), 32)
  10.       }
  11.       dec %i
  12.     }
  13.   }
  14.   echo -i2tc Info2 $chan This %banmask ban affects $+ $iif(%nicks != $null, $iif(%nicks == everyone, $chr(32) $v2 $+ ., : $replacex(%nicks, $chr(32), $chr(44) $+ $chr(32))), $chr(32) $+ no one.)
  15. }
RAW Paste Data
Top