As mentioned, put the default style on the send button...

Example:
button "Send",1,5 5 20 10, default

This will make that button the default button, so that when you hit Enter, it will trigger that button automatically. Then, in your sclick event, set whatever you want done for that button's ID.

Example:
Code:
on *:dialog:yourdialog:sclick:*: {
  if ($did == 1) { msg #yourchannel $did($dname,2) }
}


That examples assumes the button is ID 1 and the editbox is ID 2. Change the numbers to the appropriate numbers (and replace "yourdialog" with the name of your dialog).


Invision Support
#Invision on irc.irchighway.net