>From: "Daniel A. Koepke" <dkoepke@CIRCLEMUD.ORG>
>
>On Fri, 8 Feb 2002, Kras Kresh wrote:
>
> > > if (!ch->desc || IS_NPC(ch))
> > > return (FALSE);
> > >
> > > if (!cmd && !number(0, 5)) {
> > > do_action(recep, NULL, find_command(action_table[number(0, 8)]),
>0);
> > > return (FALSE);
> > > }
> >
> > Ooo... I see now... The first check made it impossible to complete the
> > second.
>
>I'm obviously not seeing what you are. The first check leaves the special
>procedure if the person calling it is an NPC or linkdead PC (as is the
>case with NPC/forced commands, or NPC activity calls); the second checks
>if the special procedure has been invoked by something other than a
>command or NPC activity (i.e., fighting).
>
The original poster (Kras?) was expecting the action to be done by an NPC.
He now sees that NPCs can't do that.
_______________________________________
Grimau Lysik'an, The Bionic Elf
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.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