Advertisement
makimaki

aop crap shit

Jul 31st, 2010
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.01 KB | None | 0 0
  1. alias updateaop {
  2.   var %i = 0 | var %a writeini -n Aop.ini | var %r Fibonacci Auto Aop
  3.   echo -ta * %r Update Started.
  4.   while (%i < $nick(#,0)) {
  5.     inc %i
  6.     if ($nick(#,%i) != $me) {
  7.       if ($v1 isowner #)  { %a Owners $+ $chan $address($v1,1) $v1 - %r  }
  8.       elseif ($v1 isop #) && ($v1 !isowner #)  { %a Hosts $+ $chan $address($v1,1) $v1 - %r }
  9.     }
  10.   }
  11.   echo -ta * All  $nick($active,0,q) Owners  and $nick($active,0,o) Hosts have been logged.
  12.   .timer 1 2 echo -ta * %r Update Completed.
  13. }
  14. on ^*:Join:#: {
  15.   var %y = $address($nick,1) | var %a $readini(Aop.ini,halt,$right(#,-2))
  16.   var %b $readini(Aop.ini,Owners $+ $chan,%y) | var %c $readini(Aop.ini,Hosts $+ $chan,%y)
  17.   if (# $+ aop == halt) { echo -t $chan Aop Halted for # | haltdef }
  18.   if (%c) && (%a !isin #) && ($me isop # || $me isowner #) { notice # $nick - Local Host: $nick - %c | mode $chan +o $nick | haltdef }
  19.   if (%b) && (%a !isin #) && ($me isowner #) { notice # $nick - Local Owner: $nick - %b | mode $chan +q $nick | haltdef }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement