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
qalcool
Newbie


Joined: 26 Nov 2002
Posts: 5

PostPosted: Wed Nov 27, 2002 6:07 pm   

String evaluation problems.
 
I want:

to make query into database, dynamically formed based on arguments passed to alias, which does that query.

So. I have database 'eq'. I have alias 'findeq'. I type 'findeq blue bracer'. I want it to make query like '%query (%pos(blue,&name) AND %pos(bracer,&name))'

If i type 'findeq 1 2 3' i want to make query '%query(%pos(1,&name) AND %pos(2,&name) AND %pos(3,&name))'

How can i do such thing?

Let me say other way: how can i get records from database, which first column contains FEW words. I will type 'findeq blue bracer', i want to see records which contains 'blue' and 'bracer' in their name. #find doesnt work on records like 'blue steel bracer'.
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