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
ToyBear
Beginner


Joined: 04 Sep 2003
Posts: 25
Location: Singapore

PostPosted: Thu Sep 18, 2003 5:39 am   

matching variable with wildcard
 

the problem i have is manor pie and token comes with players name like 'TOKEN ABC','TOKEN XYZ','MANOR PIE 123' and 'MANOR PIE 789'. So it is populating my database with many duplicates.

#if ( @Name = Manor Pie * ) ( @Name = Manor Pie )
#if ( @Name = Token * ) ( @Name = Manor Pie )

i tried the above and it doesn't seem to work. in replacing duplicate names.

Thanks
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Sep 18, 2003 7:50 am   
 
#IF (%begins( @Name, Manor Pie)) {Name = Manor Pie}
Reply with quote
ToyBear
Beginner


Joined: 04 Sep 2003
Posts: 25
Location: Singapore

PostPosted: Thu Sep 18, 2003 12:26 pm   
 
ooh that worked, now i got a list of items i need to be excluded in my database..

manor pie
manorpie
trivia token

how can i create a list?
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