mIRC Homepage
Posted By: MTech dialog - 29/04/03 12:40 AM
how do i make a dialog message to the active channel?
Posted By: Collective Re: dialog - 29/04/03 01:18 AM
Use msg $active in the on DIALOG event.
Posted By: MTech Re: dialog - 30/04/03 12:01 AM
im using a multi line text box in my dialog, how can i set it as one var and send it to the channel, 1 line in the box = 1 line in the chan?
Posted By: KingTomato Re: dialog - 30/04/03 12:17 AM
$did(dialog, id, <line>).text
Posted By: MTech Re: dialog - 30/04/03 12:34 AM
how would i make the top line disapear from the text box and go into the channel when a button is clicked, for as many lines as there is?
Posted By: KingTomato Re: dialog - 30/04/03 01:03 AM
alias test { /dialog -m test test }

dialog test {
title "Test Msg Active"
size -1 -1 100 80
option dbu
edit "", 10, 0 0 75 10
button "Add", 20, 75 0 25 10
list 30, 0 10 100 60, size
button "Close", 50, 70 70 30 10, ok
button "Send Top Line", 40, 0 70 50 10
}

on 1:DIALOG:test:INIT:*: {
/did -ra $dname 10
}

on 1:DIALOG:test:SCLICK:20: {
/did -a $dname 30 $did(10)
/did -r $dname 10
}

on 1:DIALOG:test:SCLICK:40: {
/msg $active $did($dname, 30, 1).text
/did -d $dname 30 1
}



Load and type /test in a window
© mIRC Discussion Forums