On Mon, 17 Nov 1997, Chuck Reed wrote:
> /**************************************************************************/
> case 'P':
> sprintf(buf2, "%sPut %s [%s%d%s] in %s [%s%d%s], Chance %d%%, Max : %d",
1 2 3 4 5 6 7 8*9*10 11 12
> MYCMD.if_flag ? " then " : "",
> obj_proto[MYCMD.arg1].short_description,
> cyn, obj_index[MYCMD.arg1].virtual, yel,
> obj_proto[MYCMD.arg3].short_description,
> MYCMD.arg4 ? (101 - MYCMD.arg4): 100, MYCMD.arg2
> );
> break;
There are only 8 arguments that you are passing here.. above you have
11 format character.. you need to add the 3 variables to the lower
half that you addded to the sprintf() statement.
k
+------------------------------------------------------------+
| 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