Re: [CODE/IDEA] Few things

From: George (greerga@CIRCLEMUD.ORG)
Date: 04/23/98


On Wed, 22 Apr 1998, Chuck Reed wrote:

>SPECIAL(prof_teacher_swimming)
>{
>   if(CMD_IS("learn"))
>     send_to_char("Worked.\r\n", ch);
>   else
>     send_to_char("Didn't.\r\n", ch);
>
>   return TRUE;
>}
>
>When I'm in the room with the mob, I type anything (but learn of course)
>and it says Didn't and skips the command interpreter (or whatever it
>skips).  However, when I type "learn", it says Huh?!?.  I have simplified
>this as much as I can, and I'm just stumped.

Look at the command table for 'do_not_here' and follow suit. :)

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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/15/00 PST