Khal_GC

Shit-list by Khal

Feb 16th, 2016
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.61 KB | None | 0 0
  1. ;Simple shit-list by Khal.
  2. alias add.n {
  3.   write shits-xd.txt $1
  4.   echo -a 2El NiCK4 $1 2fue agregado a la shit list.
  5. }
  6. alias del.n {
  7.   write -dl shits-xd.txt $1
  8.   echo -a 2 El NiCK4 $1 2fue elminado de la shit list.
  9. }
  10. alias shitlist {
  11.   var %s = 1
  12.   while (%s <= $lines(shits-xd.txt)) {
  13.     if ($1 == $null) {
  14.       echo -a 1 $+ $read(shits-xd.txt,%s)
  15.     }
  16.     inc %s
  17.   }
  18. }
  19. ON *:JOIN:#: {
  20.   var %n = 1
  21.   while (%n <= $lines(shits-xd.txt)) {
  22.     if ($nick isin $read(shits-xd.txt,%n)) {
  23.       mode $chan +b $address($nick,2)
  24.       kick $chan $nick ban automรกtico.
  25.     }
  26.     inc %n
  27.   }
  28. }
Add Comment
Please, Sign In to add comment