Re: Command list

From: Zerin (dapiner@yahoo.com)
Date: 02/19/02


--- Bobby Solis <bobby_solis@hotmail.com> wrote:
> When a player is in a mud and types "command" it
> shows a list of commands
> that are available for use.  Where is this list
> stated in the programming?
> Can it be altered easily?


It does a search of the command list arrayin interp.c.
It goes through all the commands and lists them, it
doesn't parse an external file and shows it nor does
it
have some form of sprintf array.

Just do a grep on do_command and you should find its
location in the code.

Zerin
"The bard that could"


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT