Re: [ Idea ] actf() ?!?!

From: Erwin S. Andreasen (erwin@PIP.DKNET.DK)
Date: 10/07/97


On Tue, 7 Oct 1997, George wrote:

> > Would it make sense? That is writing actf()? :)
>
> Not as much as every other function, act() already has codes to help it
> work flexibly.  If there's demand for it, sure I'll do it.

If you want to make act() more useful, consider:

http://pip.dknet.dk/~erwin/letters/act.txt

Implementing such an act system would reduce something like:

act ("You slap $N!", ch, NULL, victim, TO_CHAR);
act ("$n slaps you!", ch, NULL, victim, TO_VICT);
act ("$n slaps $N!", ch, NULL, victim, TO_NOTVICT);

to:

act ("$n slap$% $N!", ch, NULL, victim, TO_ALL);

Roughly; Circle seems to have some other extra parameter after the format
string which MERCs do not.

 =============================================================================
Erwin Andreasen   Herlev, Denmark <erwin@pip.dknet.dk>  UNIX System Programmer
<URL:http://pip.dknet.dk/~erwin/>         <*>           (not speaking for) DDE
 =============================================================================


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