mIRC Home    About    Download    Register    News    Help

Print Thread
#91401 22/07/04 09:28 AM
Joined: May 2004
Posts: 27
N
Nixor Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: May 2004
Posts: 27
try this!
alias testbugwindow {
window -al @nixor
window -c @nixor
}
on *:close:@nixor:echo -a testing...

with you use /window -c command, the event isn't work. when you close the window by the X, they works...


---

Nixor's - http://xoniq.tk
#91402 22/07/04 10:48 AM
Joined: Dec 2002
Posts: 788
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 788
The ON Close event only triggers, and is only suppose to trigger when the window is closed manually, this not only stops "loops" if your script, /window -c's and On Close reopens' it.. but its also logically because, theres nothing stopping you doing:

/window -c @name
dothiscommandhere

As that will have the same effect as:

On *:close:@name:{
dothiscommandhere
}


Eamonn.


Link Copied to Clipboard