1:snotice:*pass*:/pass %pass
would work but let me see if i can think of a better way hold on.
on *:snotice:*pass* {
if ($readini(test.ini,Autoidentfy,Autoserver1) = $server) {
PASS $readini(test.ini,Autoidentfy,pass1)
}
if ($readini(test.ini,Autoidentfy,Autoserver2) = $server) {
PASS $readini(test.ini,Autoidentfy,pass2)
}
}
dialog fix to make this work would be erm
change this
If ($did = 9) { Set %AutoPass1.Pass $did(2) | Set %AutoPass2.Pass $did(4) }
to
If ($did = 9) { writeini autoidentify.ini autoidentify pass1 $did(2) | writeini autoidentify.ini autoidentify pass2 $did(4) }
same for the cs ircd stuff alot better and if you work with it, you can save a hell of alot more then two servers.
ok i fixed some errors and updated the code i fixed the editbox problem
on :dialog:pm_blocker:init:: {
did -ra $dname 8 %pm.blocker
did -ra $dname 10 %pm.kill
}
and the reset button
on *:Dialog:PM_Blocker:Sclick:12: {
Set %pm.kill 0
Set %pm.blocker 0
did -ra $dname 8 %pm.blocker
did -ra $dname 10 %pm.kill
}