mIRC Home    About    Download    Register    News    Help

Print Thread
#66246 02/01/04 04:39 AM
Joined: Oct 2003
Posts: 306
J
Fjord artisan
OP Offline
Fjord artisan
J
Joined: Oct 2003
Posts: 306
alias mdx_fullpath { return $+(",C:\lastversion\mdx.dll,") }

alias mdx { dll $mdx_fullpath $1- }

alias mdxinit {
dll $mdx_fullpath SetMircVersion $version
dll $mdx_fullpath MarkDialog $dname
}

dialog canales {
size -1 -1 543 126
title "Canales"
list 2,-3 104 538 20, size
combo 1,10 43 251 50,drop
button "Join",3,269 43 60 22
button "Manager",4,335 43 60 22
}
on *:dialog:canales:init:*:{
mdxinit
mdx SetControlMDX $dname 2 StatusBar sizeGrip > C:\lastversion\bars.mdx
mdx SetBorderStyle $dname 2 windowedge
}

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

.canales

on *:dialog:canales:sclick:1: { .set %valor $did($dname,2).seltext }
on *:dialog:canales:sclick:3: { .echo -s has entrado a 12,0 %valor  | .join %valor | dialog -c canales }



i think i do fine any sugestion?


mess with the best
#66247 02/01/04 05:15 PM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
you can only have 1 init section on a dialog.


New username: hixxy

Link Copied to Clipboard