mIRC Home    About    Download    Register    News    Help

Print Thread
#100925 18/10/04 02:43 PM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
i have

disconnect :
on 1:disconnect: {
if (!$dialog(tabla)) dialog -m tabla tabla
scon -at1 did -r tabla 1 $!serverip $chr(9) $!server $chr(9) $!port $chr(9) # ?
}

join :
on 1:connect: {
if (!$dialog(tabla)) dialog -m tabla tabla
scon -at1 did -a tabla 1 $!serverip $chr(9) $!server $chr(9) $!port $chr(9) # ?
}

usually works fine , but i don what happen

when i conect to a server
the new server has show in the list
but when i want close it there is a problem , they close the entire list


any help thnx


mess with the best
#100926 18/10/04 09:27 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
The -r switch erases the entire listbox. For removing just specific lines you should first get that line's number and then, using /did -d <dname> <Id> <line number>, removing the line(s) you want.

Hope this can help smile
Zyzzyx.


"All we are saying is give peace a chance" -- John Lennon

Link Copied to Clipboard