Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
snoop_bob
Newbie


Joined: 28 Dec 2004
Posts: 5
Location: Putz

PostPosted: Tue Dec 28, 2004 9:47 pm   

cap sensitive...
 
okay,.. I got this problem in my mud, that if i track a person with a title, using a track that tracks the WHOLE wholist... it doesn't work because of their title...

Now, this mud also has the short description and you have to introduce to know others names and see their names (not just short desc's) on the wholist.


what I want to happen is:

the wholist has a BIG gap, about 15 spaces, then the name or short desc.

i have things set to track everything... but I want it to do this=

if it see's a CAPITAL letter at the start of the name/short desc, then I want it to track just the first word instead of the whole name and title.
_________________
WASSSSSSSUUUUP
Reply with quote
Hibio
Beginner


Joined: 19 Mar 2004
Posts: 22

PostPosted: Tue Dec 28, 2004 10:32 pm   
 
The %ascii() might be of help, I believe ASCII for cap characters are from 65 for A to 90 for Z and for lower case 97 for a to 122 for z.

There are also the %proper() and %upper() functions which allow you to manipulate casing of the char/word.

pattern matchings that might help

? = matching a single char
%w = matching for a-z


I hope the hints help
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net