Re: [CODE] stat command help

From: Chris Ward (wwc@cyg.net)
Date: 01/23/03


ACMD(do_yummy)
{
           send_to_char(ch," Your stats are: \r\n");
           send_to_char(ch," Str: %2d%s%s\r\n", GET_STR(ch), GET_ADD(ch));
           send_to_char(ch," Wis: %2d\r\n", GET_WIS(ch),(ch));
           send_to_char(ch," Con: %2d\r\n", GET_CON(ch));
           send_to_char(ch," Dex: %2d\r\n", GET_DEX(ch));
           send_to_char(ch," Int: %2d\r\n", GET_INT(ch));
           send_to_char(ch," Cha: %2d\r\n", GET_CHA(ch));
       /*    send_to_char(ch," Hitroll: %2d\r\n", points.hitroll(ch));
           send_to_char(ch," Damroll: %d\r\n", points.damroll(ch)); */
}

Im having a bit of trouble here, on another mailing list I seen something
similar to this to show your stats, but for the life of me im not certain
what im doing wrong. when i excute this it crashes my mud, I wanted to just
print out the info to the player. I looked at the score command and hacked
and slashed it, but to no luck, any help would be highly appreciated.
I have no clue how to show the Hitroll/Damroll stuff either.

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/26/03 PDT