formatting do_say

Posted by Frobozz on Sat 11 Dec 2004 06:44 PM — 3 posts, 13,575 views.

#0
Hi!

I know that you can wordwrap mud out put by editing comm.c by placing:
txt = wordwrap( txt, 78)
after if (to->desc)

and of course prototyping it:
char *wordwrap( char *txt, sh_int wrap )

But Im curious to know if there is a way to format do_say to indent after the wordwrap so that it looks like this:


Frobozz says, "Hi. I've been working on this for a really
              long time and I think Im going to jump out 
              of my window now"


Thoughts?

Even if it looked more like:


      Frobozz says, "Hi. I've been working on this for a
      really long time and I think Im going to jump out 
      of my window now"


It wouldnt be so bad.

Thoughts?
Amended on Sat 11 Dec 2004 10:03 PM by Nick Gammon
Australia Forum Administrator #1
I amended your post so we could see what you are talking about, by using [code].
#2
Thanks! Didn't know that you guys had that forum tag here. So... about the do_say :P