Re: Death Smurfs

From: John Evans (evansj@HI-LINE.NET)
Date: 04/03/98


On Fri, 3 Apr 1998, Ghost Shaidan wrote:

> > >    if(vict==NULL) {
> > >      act("$n says 'GNAP!' to no one in particular.", 1, ch, 0, 0,
> > >                TO_ROOM);
> > >      return TRUE;
> > >    }
> >
> Sorry, Haven't been following this thread, but is there a reason to use
> act instead of do_say?
>

Look closely at the act() call.

If you used say, the players would see:
A deadly smurf says, 'GNAP!'

When you want them to see:
A deadly smurf says, 'GNAP!' to no one in particular.


John Evans <evansj@hi-line.net>  --  http://www.hi-line.net/~evansj/

Any sufficiently advanced technology is indistinguishable from magic.
--Arthur C. Clarke


     +------------------------------------------------------------+
     | 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