Re: [CODE] showstats 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 looking for some coding help here, I seen something similar to this
posted on another mailing list, and I tried to implement it into my 3.1
mud. Everytime I excute it, my mud crashes. I have no clue whats wrong, I
just wanted to print out these stats to a player when they want to see them.

--
   +---------------------------------------------------------------+
   | 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