Re: [CODE] act() vs. send_to_char()

From: Andrey Fidrya (andrey@ALEX-UA.COM)
Date: 08/07/98


> > I was just wondering, what is the difference between these two
> > statements:
> > 1. send_to_char("CircleMUD is great!", ch);
> > 2. act("CircleMUD is great!", FALSE, ch, 0, 0, TO_CHAR);
> In appearance, nothing.  However, number 1. is faster as it doesn't
> use a procedure that is attempting to deal with many parameters.

And, btw, if you use send_to_char, don't forget to add \r\n at the end of line
because it doesn't adds "\r\n" automatically like act() does.

  Andrey (andrey@alex-ua.com)
    aka Zmey // RMUD


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