Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias updateaop {
- var %i = 0 | var %a writeini -n Aop.ini | var %r Fibonacci Auto Aop
- echo -ta * %r Update Started.
- while (%i < $nick(#,0)) {
- var %i = $calc(%i + 1)
- if ($nick(#,%i) !== $me) {
- if ($nick(#,%i) isowner #) { %a Owners $+ $chan $address($nick(#,%i),1) $nick(#,%i) - %r }
- if ($nick(#,%i) isop #) && ($nick(#,%i) !isowner #) { %a Hosts $+ $chan $address($nick(#,%i),1) $nick(#,%i) - %r }
- }
- }
- echo -ta * %r Update Completed.
- }
- ;on ^*:Join:#: {
- ; var %y = $address($nick,1)
- ; if (# $+ aop == halt) { echo -t $chan Aop Halted for # | haltdef }
- ; if ($readini(Aop.ini,Hosts $+ $chan,%y)) && ($readini(Aop.ini,halt,$right(#,-2) !isin #)) && ($me isop # || $me isowner #) {
- ; notice $nick TIME - AOP Local Host: $nick - $readini(Aop.ini,Hosts $+ $chan,%y) | mode $chan +o $nick | haltdef
- ; }
- ; if ($readini(Aop.ini,Owners $+ $chan,%y)) && ($readini(Aop.ini,halt,$right(#,-2) !isin #)) && ($me isowner #) {
- ; notice $nick TIME - AOP Local Owner: $nick - $readini(Aop.ini,Owners $+ $chan,%y) | mode $chan +q $nick | haltdef
- ; }
- ;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement