Re: question that might not have an answer
Michelle Rogers wrote:
>
>
>I have a question. On the mud I am working on, I have a list of mudcommands
>that can be done in a data file. They read into a commands variable, which
>looks like this..
>
>commands={command,command,command...}
>command={{name of command},{function command should run when typed},{level
>player must be to use command}}
>
>
>I would like for mud-"coders" to be able to add commands "on the fly" from
>inside the mud. I can handle the actual adding of the command easy
>enough...on one line, they would simply type:
>
>addcommand <command> <function> <levelreq>
>
>
You need some sort of internal EU interpreter, because the code you add
will be stored in variables or in a data file... it won't become a
physical part of the program; it won't be additional lines of code.
David Cuny has an interpreter, I think, or Pete or somebody else. :)
|
Not Categorized, Please Help
|
|