On Fri, 26 Oct 2001, matt wrote: > SEND_TO_Q("\x1B[1;33m_-~-_-~-_-~-_-~-_-~-_-~-_-~-_-~-_-~-_-~-_\x1B[0;0m\r\n" > [ ... snip ... ] Side note: you shouldn't send ISO6429 ("ANSI color") sequences like this. Not only do some people not have support for them, but there are at least two common cases where people will not want them regardless: (1) they have a lot of lag; (2) they don't like your color scheme (and, frankly, I'd rather scoop my eyes out with a spoon than have to look at bright yellow and bright cyan on a consistent basis). > case'6': > d->character->player.hairl = HAIRL_BALD; Here: SEND_TO_Q(/* ... ki color menu ... */, d); STATE(d) = CON_QKI; and instead of > break; use return; > default: > SEND_TO_Q("That is not a hair length.\r\n", d); You should prompt again. If they enter an invalid hair style, they might not know what styles are available. In which case, you should try to help them, rather than have them guess. > P.S Sorry about the code being long.. if it's too long anyway Don't be sorry, be certain. Read the FAQ (see the little box below this message) and know the rules. -dak -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST