kinda dumb question...

From: Manafort (manafort@mindspring.com)
Date: 02/02/00


Ok i put in a mob stack snippet and it works perfect just the number of the
mobs are at the end of the name and its really annoying..

Puff the Fractal Dragon is here, contemplating a higher reality [5]

i need it to be
[5]  Puff the Fractal Dragon is here, contemplating a higher reality

this is the code that prints it out just not sure how to reverse it...

 if (num > 1)
            {
                while ((buf[strlen(buf)-1]=='\r') ||
                       (buf[strlen(buf)-1]=='\n') ||
                       (buf[strlen(buf)-1]==' ')) {
                    buf[strlen(buf)-1] = '\0';
                }
    sprintf(buf2," [%d]\n\r", num);
                strcat(buf, buf2);
            }


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT