MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

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:

notify(player,$AnsiCodes.escape+"[32m"+text);

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

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




Follow-Ups: References:

Home | Subject Index | Thread Index