mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2004
Posts: 40
B
bog__ Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2004
Posts: 40
I have one problem
This is part of the script

Code:
 on 1:CONNECT: {
  if (%ukljuceno == on) {
    /.timerG1 0 %timeGOgoGO { /.timerG2 1 5 /echo 0,4 This [censored] you will see again in %timeGOgoGO seconds }
    /.timerG3 0 %timeGOgoGO { /.timerG4 1 10 /go %Login }
    /.timerG5 0 %timeGOgoGO { /.timerG6 1 40 /go %Money }
    /.timerG7 0 %timeGOgoGO { /.timerG8 1 50 /window -c @web1 }
    /.timerG9 0 %timeGOgoGO { /.timerG10 1 80 /window -c @web2 }


but many times * [10053] Software caused connection abort
and then all mine timers go off
is there some way in remote to turn timers on when Software caused connection abort
I have
Code:
 on 1:DISCONNECT: {
  if (%ukljuceno == on) {
    /.timerG1 0 %timeGOgoGO { /.timerG2 1 5 /echo 0,4 This [censored] you will see again in %timeGOgoGO seconds }
    /.timerG3 0 %timeGOgoGO { /.timerG4 1 10 /go %Login }
    /.timerG5 0 %timeGOgoGO { /.timerG6 1 40 /go %Money }
    /.timerG7 0 %timeGOgoGO { /.timerG8 1 50 /window -c @web1 }
    /.timerG9 0 %timeGOgoGO { /.timerG10 1 80 /window -c @web2 }


and if mine script disconect from the server this will turn on all the timers one more time and that is good

but what command do i use for connection abort to turn mine timers on? please help

Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
looking at your code, im and what you wanted Im assuming you just wanted yopur timers to run even if your not connected.

/help /timer

-o option for Offline timer

example

/.timerG1 -o 0 %timeGOgoGO { /.timerG2 -o 1 5 /echo 0,4 This [censored] you will see again in %timeGOgoGO seconds }

Joined: Dec 2004
Posts: 40
B
bog__ Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2004
Posts: 40
OK thanks grin


Link Copied to Clipboard