Hey, heres my aOP.
menu menubar {
aOP List
.Open
..Global Q:run notepad qlobalq.ini
..System Op:run systemop.ini
}
menu nicklist {
aOP
.On:/enable #aop | echo $chan 12A1op14:12On.
.Off:/disable #aop | echo $chan 12A1op14:12Off.
.-
.Global Q
..Add:var %logname $$?="Log As:" | var %logreason $$?="Reason:" | /writeini globalq.ini globalq $address($1,1) $$1 %logname %logreason | msg $chan 12a1OP14:12Global Q14:12Added for $$1 $+ 14:12Logged As14:12 $+ %lognick $+ 14:12Reason14:12 $+ %logreason | mode $chan +q $$1
..Remove:remini globalq.ini globalq $address($1,1) | msg $chan 12a1OP14:12Global Q14:12Removed $$1 | mode $chan -q $$1
..Edit Ini:run notepad globalq.ini
.System Op
..Add:var %logname $$?="Log As:" | var %logreason $$?="Reason:" | /writeini systemop.ini systemop $address($1,1) $$1 %logname %logreason | msg $chan 12a1OP14:12System Op14:12Added for $$1 $+ 14:12Logged As14:12 $+ %lognick $+ 14:12Reason14:12 $+ %logreason | mode $chan +o $$1
..Remove:remini systemop.ini systemop $address($1,1) | msg $chan 12a1OP14:12System Op14:12Removed $$1 | mode $chan -o
..Edit Ini:run notepad systemop.ini
}
#aop on
on *:join:#:{
if ($me isop $chan) {
if ($readini(globalq.ini, n, globalq, $address($nick,1)) != $null) {
msg $chan 12a1OP14:12Global Q14:12Logged As14:12 $+ $gettok($readini(globalq.ini, n, globalq $adress($nick,1)),2,32) $+ 14:12Reason14:12 $+ $gettok($readini(globalq.ini, n, globalq $address($nick,1)),3,32)
mode $chan +q $nick
}
if ($readini(systemop.ini, n, systemop, $address($nick,1)) != $null) {
msg $chan 12a1OP14:12System Op14:12Logged As14:12 $+ $gettok($readini(systemop.ini, n, systemop $address($nick,1)),2,32) $+ 14:12Reason14:12 $+ $gettok($readini(systemop.ini, n, systemop $address($nick,1)),3,32)
mode $chan +o $nick
}
}
}
#aop end
ok, the problem well, it works fine for one name, on version 6.03 of mIRC, but it dont on the other names, and on version 6.12 of mIRC, it done work at all. my ini file is set up like this.
[globalq] *!*2C5CC310D@GateKeeperPassport=energize energize me :D *!*CB1DCA641@GateKeeperPassport=SpAzZ SpAzZ me
when it joins, it shows aOP:Gloabal Q:Logged As::Reason:
thats all it does ![]()
Thanks,
--SpAzZ--