Re: [CODE]

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 11/17/97


On Mon, 17 Nov 1997, Chuck Reed wrote:

         1      3     4   5 6 7      8  9 10 11         12          13
>sprintf(buf2, "%sPut %s [%s%d%s] in %s [%s%d%s], Chance %d%%, Max : %d",
               The string itself is 2.

>              MYCMD.if_flag ? " then " : "",
#3

>              obj_proto[MYCMD.arg1].short_description,
#4

>              cyn,
#5

>obj_index[MYCMD.arg1].virtual,
#6

>yel,
#7

>              obj_proto[MYCMD.arg3].short_description,
#8

>              MYCMD.arg4 ? (101 - MYCMD.arg4): 100,
#9

>MYCMD.arg2
#10

>              );

You're also missing a #11, #12, and #13.  You seem to have forgotten to add
the color codes for some of the %s's so they're out of order too.

If you can't do this, get a C book.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- 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/08/00 PST