mIRC Home    About    Download    Register    News    Help

Print Thread
#91401 22/07/04 09:28 AM
N
Nixor
Nixor
N
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...

#91402 22/07/04 10:48 AM
Joined: Dec 2002
Posts: 787
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 787
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