Hey list, I've recently written a few functions to handle capitalization and lower-casing of colored strings to use throughout the code to clean things up in the game a little.
For example, Using colorcap() with "a Strange Thing", you'd get: "You get A Strange Thing." Using colorlow() with "A Strange Thing", you'd get: "You get a Strange Thing." Using colorlow_all() with "A Strange Thing", you'd get: "You get a strange thing." Now, most of the places where this would be used is handled by act() or act_new(). I can make a modified version of act_new to handle formatting options or I can go through the code and modify everything to use sprintf to handle the formatted parts before sending it to act/act_new (so mobprogs will still trigger). I'm not very crazy about either option, so I was wondering if anyone else has any opinions or suggestions on the best way to do this. Please forgive me if I didn't explain it very well, my mind is shot after a full day of javascript/php coding at work and then working on this stuff since then. Thanks for any input! RD --- RogueDragon @ A Merging of Fates MUD telnet://mud.merging.org:5454 icq: 2072355, yim: roguedragon, aim: roguedragon69 --- Windows - Where do you want to go today? Linux - Where do you want to go tomarow? FreeBSD - When are you two going to catch up?

