Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.64 KB | None | 0 0
  1. on *:start: {
  2.   server irc.bitvortex.net
  3. }
  4.  
  5. on *:connect: {
  6.   if ($network == Bitvortex) {
  7.     /msg nickserv release nick password
  8.     if ($me != <nick>) { nickserv ghost nick password | nick <nick> }
  9.     msg nickserv identify password
  10.     scid $cid join #gta.chat
  11.     scid $cid join #gta.sumo
  12.     scid $cid join #gta
  13.   }
  14. }
  15.  
  16. on *:join:#: {
  17.   if ($nick == $me) {
  18.     msg #gta.chat Hello
  19.   }
  20. }
  21.  
  22. on *:action:*:#: {
  23.   if ((slaps isin $1- || pokes isin $1- || kicks isin $1- || chops isin $1-) && $me isin $1- && $calc($ctime - %slapprot) > 60) {
  24.     if (slaps isin $1-) var %prot = slap
  25.     elseif (pokes isin $1-) var %prot = poke
  26.     elseif (kicks isin $1-) var %prot = kick
  27.     elseif (chops isin $1-) var %prot = chops
  28.  
  29.     set %slapprot $ctime
  30.     msg $chan *** Warning: %prot detected!
  31.     .timer1 1 2 msg $chan *** Initiating anti %prot system
  32.     .timer2 1 5 msg $chan *** Countdown: 3
  33.     .timer3 1 6 msg $chan *** Countdown: 2
  34.     .timer4 1 7 msg $chan *** Countdown: 1
  35.     .timer5 1 8 describe $chan %prot $+ s $nick back!
  36.     .timer6 -m 1 8500 describe $chan %prot $+ s $nick again!
  37.     .timer7 -m 1 9000 describe $chan and again!
  38.     .timer8 1 11 msg $chan *** Anti %prot system ended
  39.  
  40.   }
  41. }
  42.  
  43.  
  44. alias mibbit {
  45.   if ($1) {
  46.     if ($1 ison $active) {
  47.       var %host = $address($1, 0)
  48.       if ($regex(result, %host, /\*!(.*)\@.*/)) {
  49.         %host = $regml(result, 1)
  50.         echo -a Resolved: $longip($base(%host,16,10))
  51.       }
  52.       else {
  53.         echo -a Invalid host
  54.       }
  55.     }
  56.     else {
  57.       echo -a $1 is not on the active channel
  58.     }
  59.   }
  60.   else {
  61.     echo -a Usage: /mibbit <nickname>
  62.   }
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement