send_to_char/f fix

From: Akuma/Chris Baggett/DOOMer (doomer@BAYOU.COM)
Date: 01/19/98


ok, I added this because I had problems in the help files with
% symbols and such.
anyway, what this does, is allow you to use
the send_to_charf() functions (and all other *f() functions that work
like printf())
and still allow for '%' in the statement.

ok, in the #define statement, where you do something like so:
#define send_to_room(messg, room) send_to_roomf(room, messg)
replace it with
#define send_to_room(messg, room) send_to_roomf(room, "%s", messg)

what that does is basically send the messg AS the format, so
that all '%'s are interpreted AS IS.
just do this for all the #define's you have that point to an *f() function.

That's it.

l8r

Code On
Akuma the Raging Coder

  +------------------------------------------------------------+
  | "The poets talk about love, but what I talk about is DOOM, |
  |      because in the end, DOOM is all that counts." -       |
  |   Alex Machine/George Stark/Stephen King, The Dark Half    |
  |        "Nothing is IMPOSSIBLE, Just IMPROBABLE"            |
  |   "Easier Said Than Done, But Better Done Than Said..."    |
  +------------------------------------------------------------+


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