mIRC Homepage
Posted By: us3rX StatusWindow/Disconnections - 26/03/05 01:43 AM
Code:
on *:Close:*:{ .timertb.load -m 1 10 tb.load }
on *:Disconnect:{ .timertb.load -m 1 10 tb.load }


Those seem to be the only ones i am having problems with, when i close a status window the treeview doesnt reload... The close one works for custom windows but not the status window..

Thanks in advance laugh
us3rX
Posted By: DaveC Re: StatusWindow/Disconnections - 26/03/05 01:53 AM
It dont work on status windows is why

on <level>:OPEN|CLOSE:<?|@|=|!|*>:<matchtext>:<commands>

? = pm
@ = custom
= = dcc
! = fileserver(?)
* = all of the above

from the help file >>> Note: These events do not trigger for any other types of windows.
Posted By: us3rX Re: StatusWindow/Disconnections - 26/03/05 01:59 AM
heh, yeah i read that part in the help file... so there is no way to have an event trigger on it?

us3rX
Posted By: DaveC Re: StatusWindow/Disconnections - 26/03/05 02:03 AM
no idea, wont disconnect do it?

If not not then, you could run up a timer event, triggers once a second, that cycles the status windows checking if any disappeared

(hohohohoho the crazy polling timers oh man what a system resource hog)
Posted By: us3rX Re: StatusWindow/Disconnections - 26/03/05 02:07 AM
Nah disconnect and quit wont do it, and yeah i am trying to stay far away from timers... lol thanks anyway

us3rX
© mIRC Discussion Forums