Hi! There are several dialog events which you can use to add/remove text
from edits, text
on *:dialog:name:init:
name = the dialogs name
init event triggers when the dialog is first opened (initial)
on *:dialog:name:sclick:
sclick triggere when you single click something in the dialog
on *:dialog:name:dclick:
Triggers when you double click something in the dialog
on *:dialog:name:edit:
triggers when you type on an edit
;;
You can use /did command to write in an edit:
the format of /did command is
did parameters name id text
The parameter that adds text is -a but there are a lot others that do a bunch of things.
name is the dialog name
id is the id of the item you wanna add text to.
Text is the text you wanna add.
;;
$did returns the id of the item that was edited/clicked.
$dname returns the dialog's name
;;
For more help try this tutorial
http://www.mirc.org/mishbox/tutorials/dialogs.htm