From: Professor Hoopster Subject: Bar chart code Some people have been discussing how to make a bar graph of point scales rather than just straight numbers...thought you might be interested in how I did it for my MUD, and how I incorporated it into my score command. (BTW, the PLR_IMMORT and quickening stuff is for the immortality (aka remort) system in the mud, so if you don't have it (or have something else), you'll probably want to change those parts.) Most of the point values in my mud are changed to longs, so if you still use smaller storage elements you might want to change the %ld fields to %d. Anyway, I'm just including the relevent part here. You also need to add a command 'scorebar' as a do_gen_tog, and add SCMD_SCOREBAR and a field to the messages section of do_gen_tog. And a PRF_ flag. I think that's about it. /* Note, make_bar dirties buf2 */ char *make_bar(long val, long max, long len) { unsigned int i, n; char *pos = buf2; strcpy(pos++, "["); if (val > max) { for (i = 0; i < len; i++) *(pos++) = '*'; strcpy(pos, "]+"); } else { for (i = (val * len) / max, n = 0; n < i; n++) *(pos++) = '*'; while ((n++)