MOO-cows Mailing List Archive


Re: Javascript/Java [Re: Interactive MOO]

Only to comment you what Ive just done.
I made the following:

@create $thing named AnsiCodes
@prop $AnsiCodes.escape "e"
(it is a letter)

I called it $AnsiCodes
then shutdown() and look for that "e" in the db file.
I replaced it for ascii 27 (escape code)
then restart again and programed verbs with things like:


and you get colored text if you use an ansi terminal.

So, it is posible to use, (not to enter?) , non-printable chars on
Maybe all of you knew this, but I didnt.

Follow-Ups: References:

Home | Subject Index | Thread Index