To get it to interact with your script, you'll use special attributes in your form tags. So for instance:
<input type="text" variable="#username" fillwith="value" />
This would create a text box that fills the #username variable with whatever is in the value attribute whenever you type in the box. I'd like to also implement buttons, which may be used like this:
<button runsub="clearlist">Clear List</button>
This would run the "clearlist" sub every time someone hit the button. Haven't fully decided how I'd implement this, so I may start with the other part first.
Of course, you could also use all the current commands and not think about the html, if you so choose.
I'm getting excited about it, so let me know what you think, and if it sounds like a winner, I'll get working on it.