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

From: George (greerga@CIRCLEMUD.ORG)
Date: 08/07/98


On Fri, 7 Aug 1998, Andrew Ritchie wrote:

>1. send_to_char("CircleMUD is great!", ch);

You're missing a \r\n for a newline. :)

>2. act("CircleMUD is great!", FALSE, ch, 0, 0, TO_CHAR);

act() does token ($n) parsing, you'll have to read the function to see what
it can do or look at examples. Also need \r\n here.

send_to_char() is better for when you don't have tokens though.

--
George Greer, greerga@circlemud.org | Genius may have its limitations, but
http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped.
http://www.van.ml.org/CircleMUD/    |                  -- 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