mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 127
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
Im trying to send what ever text on a combo box to a current channel when a button is clicked. however, the value of $chan and # simply wouldnt work! Help is needed!
dialog findx {
title "findx"
size -1 -1 310 100
box "", 1, 8 3 294 90
combo 2, 20 35 270 180, drop, edit
button "Find", 3, 20 60 148 20, ok
check "Find @ All Channels", 4, 20 15 120 20
}

on *:dialog:findx:sclick:* {
echo %chn
if $did == 3 {
if $did(4).state == 0 { editbox -n /msg # @find $did(2).text }
else { echo yescheck | editbox -n /amsg @find $did(2) }
}
}

Joined: Dec 2002
Posts: 212
V
Fjord artisan
Offline
Fjord artisan
V
Joined: Dec 2002
Posts: 212
try $eval($did(2),2)


And all I need now is intellectual intercourse, a soul to dig the hole much deeper
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
$active

Joined: Jan 2003
Posts: 127
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
Oh yeah, i have also found out the answer!


Link Copied to Clipboard