Advertisement
Seb

Script boob bot.

Seb
Feb 21st, 2012
1,123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.62 KB | None | 0 0
  1. ; Put this script in a new page (Remotes, ALT+R)
  2. ; and put the nicklist in a new file.
  3. ; put it in the same folder as mirc.exe name it badnicks.txt
  4. on !*:JOIN:#:{
  5.   var %x = 1
  6.   while (%x <= $lines($mircdirbadnicks.txt)) {
  7.     if ($read(badnicks.txt,%x) iswm $nick) { .msg x ban $chan $nick SpamBot }
  8.     inc %x
  9.   }
  10. }
  11.  
  12. alias checknicks {
  13.   var %x = 1
  14.   while (%x <= $lines($mircdirbadnicks.txt)) {
  15.     var %i = 1
  16.     while (%i <= $nick($chan,%i)) {
  17.       if ($read(badnicks.txt,%x) iswm $nick($chan,%i)) { .msg x ban $chan $nick($chan,%i) SpamBot }
  18.       inc %i
  19.     }
  20.     inc %x
  21.   }
  22. }
  23.  
  24. on !*:NICK:{ checknicks }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement