mIRC Home    About    Download    Register    News    Help

Print Thread
#64753 22/12/03 07:11 AM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
dialog new_table {
title "Canales"
size -1 -1 298 28
option dbu
combo 1, 8 8 80 50, size drop
button "Join", 2, 92 7 37 12, flat
button "Manager", 3, 133 7 37 12, flat
}

on *:dialog:new_table:init:*: {
did -ra $dname 1 [Canales]
did -a $dname 1 #Chaco-corrientes
did -a $dname 1 #ParanaChat
did -a $dname 1 #Daniel
did -a $dname 1 #Opers
did -a $dname 1 #Formosa
did -a $dname 1 #Mexico
}

how for example can i choice the chanel chaco-corrientes?
i dont know the command ...

thnx for the help



mess with the best
#64754 22/12/03 07:20 AM
Joined: Nov 2003
Posts: 227
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Nov 2003
Posts: 227
$did(new_table,1).seltext will return the selected text in the combo, so maybe you want something like:

Code:
on *:dialog:new_table:sclick:2:/join $$did($dname,1).seltext

#64755 22/12/03 07:21 AM
Joined: Oct 2003
Posts: 80
R
Babel fish
Offline
Babel fish
R
Joined: Oct 2003
Posts: 80
on *:dialog:new_table:sclick:*: { if ($did = 1) { join $iif($did($dname,1).sel = 1,#Chaco-corrientes,iif($did($dname,1).sel = 2,#ParanaChat)) }
}


RockHound

Link Copied to Clipboard