JWoodsIII wrote: > > I was trying to change all of my messages with quotes in them so that instead > of getting: > You say, 'Hello!' > you would get: > You say, "Hello!" > But obviously you can't just change it because " is already used by C. What > would I do to make a literal " character? Use \" a C book will tell you this. > Note the space in the second one. In the interpreter.c command list, should I > just add for this: > { ":" , POS_RESTING, do_echo , 1, SCMD_EMOTE } > { ": " , POS_RESTING, do_nospace, 1, SCMD_EMOTE } > and then write do_echo? Or will C++ cut out the white space after the : in the > second one? You need only the ":". CircleMUD handles the trailing space for itself. It has nothing to do with C++ (which is good, because Circle is written in C). -dak +------------------------------------------------------------+ | 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