Hi Diorm there is a thread in here somewhere about doing exactly what you want I've done it myself thanks to others.
Basically what I've done is to create a command called CSS and add an attribute called custom in the attribute tag and then place this in there
<script>document.getElementById('txtCommandDiv').innerHTML = ' <b>> </b><input type="text" x-webkit-speech="" id="txtCommand" onkeydown="return commandKey(event);" style="width: 50%; height: 14pt; font-size: 10pt; font-weight: light; outline: none; background: transparent; border: none;" autofocus><a id="endWaitLink" onclick="endWait();" class="cmdlink" style="display: none"> press a key</a>';</script>
<style type = "text/css">
a.cmdlink {
color: brown;
}
</style>In the script on the game tag insert these into the code view
<start type="script"><![CDATA[
request (Hide, "Location")
JS.eval ("$('#gameBorder').click(function() { if ($('#txtCommand').css('display') != 'none') { $('#txtCommand').focus(); }});")
msg ("{CSS.custom}<br/>{HDR.custom}")
]]></start>try these if you get into a stupor over this I will send you my beginning of the game for you to pick out the pieces.
Happy Adventuring
Terry
P.S. These are from the wonderful people on the forums and not mine.