mIRC Homepage
Posted By: _D3m0n_ on disconnect - 30/04/03 12:17 PM
ok what im working on is a treeview list box for mir mirc ... ive actually got it all setup so it works ... with one lil error ...

on disconnect isnt seeming to work for me
On *:Disconnect: { .timer 1 1 { alias } }
thats what ive been tryin to work with so that when i click to disconnect from a server that it would update my list of active windows ... but its not even performing anything, is this some sort of bug in disconnect or am in need of something else to make it do that?
Posted By: Knappen Re: on disconnect - 30/04/03 12:20 PM
Replace On *:Disconnect: { .timer 1 1 { alias } }
with
On *:Disconnect: { .timer 1 1 alias }
Posted By: _D3m0n_ Re: on disconnect - 30/04/03 12:30 PM
still dont work but i got it to work another way ...... i need ed to make it clear the listbox and reset it on disconnect ... but if u set a timer to do something from the active scon ... when it closes it stops the timer ..... so i just set it to always for to /scon 1 .timer 1 2 alias ..... im going to code in a check to see if there is even an active connection ... if there isnt its going to refresh it anyways and just rename it to Status Window
Posted By: FunChatter Re: on disconnect - 01/05/03 12:21 PM
I think it depends on what you have in the alias...
© mIRC Discussion Forums