Re: [OFFTOPIC] {dmitri's stupid response}

From: Akuma/Chris Baggett/DOOMer (doomer@BAYOU.COM)
Date: 12/30/97


At 01:34 PM 12/30/97 -0700, you wrote:
>ObCircle:
>
>I haven't taken a good look at the DG Scripts, and I am curious, the
>command trapping, does it only trap normally valid commands (say movement
>commands) or can it trap a command that isn't even in the master command
>list?

Both.

>Speaking of which, how hard would it be to make it so that
>spec_procs can trap non-command-list commands?

Download the DG code (like i've done) and just figure out a way to do that.
of course, all the CMD_IS would need to be changed maybe use a
if (!str_cmp(fakecmd, "thiscmd"))  and have fakecmd be an extra var to the
SPEC_PROC.

>  That way you don't have
>to make a prototype for every command that will ever be used on the MUD,
>and not all of them are obvious.  (I don't know how many times I've seen
>people asking about commands that are ONLY used in spec_procs, simply
>because they are listed in the 'commands' list)

That does get kindof annoying, that's why i'm adding that ability to
MobProgs (soon as i get the else to endif stuff
figured out)

have fun :-P

Code On
Akuma the Raging Coder

  +----------------------------------------------------------------+
  |     "Yea, though I code in the Valley of the Shadow of No      |
  | Documentation, I will fear no task: for thy C Book is with me" |
  |          "Nothing is IMPOSSIBLE, Just IMPROBABLE"              |
  |     "Easier Said Than Done, But Better Done Than Said..."      |
  +----------------------------------------------------------------+


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST