[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
On Mon, Nov 15, 1999 at 11:38:27PM -0500, Soth wrote:
> Hello, I have a couple questions that hopefully someone can help me with.
> 1) Is ANSI colors supported what so ever inside the code? I was wanting
> to add color to $body.say_cmd and a few others.

As was mentioned earlier, you want to use CML/Ctext if anything at
all.  Imho you dont want to do it--that should be done by the client.
You can add triggers to nearly any decent mud client for it to
'colorize' things in certain ways.  This is advantageous because it
moves the processing to the client's CPU, instead of the server's.

> 2) I recently was working with $described.description and noticed
> sender() returns $the_pit or whereever you are located. Is there
> something I can use to return the user like $user_soth? I'm trying
> to check to see if the user has a certain flag in a variable I've
> created named pflags so was wanting to check if(flag in pflags). 

Pass the 'flags' variable to .debug().  It probably contains what you
are interested in.  Specifically, you are probably interested in the
value of flags['actor].  But there are a few others of interest.

-Brandon Gillespie

PGP signature