On Tue, 14 Jan 2003, Sandi Fallon wrote: > > This ends up being a compromise, some room names look a little funny, > but on the whole it returns a string that looks like a human typed it > and not like some computer blindly stuffed a name in a blank. I also > changed act to have %c which handles your example of fighting mobs: > > $c > Result is the capitalized name of 'ch'. If 'ch' is not visible to the > target character, result is the string 'Someone'. > > case 'c': i = capitalize(PERS( ch, to )); > > shameless_plug( "Also included in %s.", Reward.c )
Oh hell, now I know I was tired when I posted that message! I didn't even think of adding to act. Thanks!! > > > So, I guess I used both your options. First thing I did was go through > the areas and standardise all the mob and room names. Yes, that was a > lot of work, but it saved a lot of editing code being called all the > time, and I'm old enough to still worry about the CPU, and it's just > cleaner. I like tidy code. > We're slowly working on that, along with fixing up a bunch of areas, but it was hard to decide on using one format or the other for things since it just looks better in some places to have it capitalized (inv & eq lists imo, and at the beginning of sentences) and other places needed it in lower case. So.. this should take care of it. Thanks again for all the help! RD > > > Sandi > > > "SEGFAULT?!? I have not yet begun to code!" > > [EMAIL PROTECTED] blades.inetsolve.com 3333 > > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom > --- RogueDragon @ A Merging of Fates MUD telnet://mud.merging.org:5454 icq: 2072355 (inactive atm), 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?

