Advertisement
makimaki

aop crap shit

Jul 31st, 2010
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.07 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.     var %i = $calc(%i + 1)
  6.     if ($nick(#,%i) !== $me) {
  7.       if ($nick(#,%i) isowner #)  { %a Owners $+ $chan $address($nick(#,%i),1) $nick(#,%i) - %r  }
  8.       if ($nick(#,%i) isop #) && ($nick(#,%i) !isowner #)  { %a Hosts $+ $chan $address($nick(#,%i),1) $nick(#,%i) - %r }
  9.     }
  10.   }
  11.   echo -ta * %r Update Completed.
  12. }
  13.  
  14. ;on ^*:Join:#: {
  15. ; var %y = $address($nick,1)
  16. ; if (# $+ aop == halt) { echo -t $chan Aop Halted for # | haltdef }
  17. ; if ($readini(Aop.ini,Hosts $+ $chan,%y)) && ($readini(Aop.ini,halt,$right(#,-2) !isin #)) && ($me isop # || $me isowner #) {
  18. ;   notice $nick TIME - AOP Local Host: $nick - $readini(Aop.ini,Hosts $+ $chan,%y) | mode $chan +o $nick | haltdef
  19. ; }
  20. ; if ($readini(Aop.ini,Owners $+ $chan,%y)) && ($readini(Aop.ini,halt,$right(#,-2) !isin #)) && ($me isowner #) {
  21. ;   notice $nick TIME - AOP Local Owner: $nick - $readini(Aop.ini,Owners $+ $chan,%y) | mode $chan +q $nick | haltdef
  22. ; }
  23. ;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement