I have a edit box in a dialog and would like it to send text thats in it to the channel ... when i hit the enter key

Hi Everyone "enter-key" <- Sends This To Channel

I have a msg Button next to it that sends the text to the room ..
I have rclick send it to the room ..

on *:dialog:test1:rclick:*: {
if ( $did(47).text == $null ) { halt }
msg #channel $did(47).text
did -o test1 47 1
}
this is the message button:

if ($did == 46) {
msg #channel $did(47).text
did -o test1 47 1

------------------------------------
Any Ideas ?

Last edited by WarlockTheWeary; 29/03/08 12:27 PM.