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


Joined: 09 Feb 2005
Posts: 1

PostPosted: Wed Feb 09, 2005 11:42 pm   

little help with zmud database
 
Ok I opened a database on zmud 7.05 and wondering if theres a way to get it to report stats off items in game, like some one sends me a tell for stats of an item and a trigger or var that will get the items stats from DB and send a tell back to that person with the name and stats of that item?
Reply with quote
crankhandle
Newbie


Joined: 28 Sep 2004
Posts: 2

PostPosted: Wed Feb 09, 2005 11:54 pm   
 
I've got this problem also. Can read, capture and place info correctly into the records of a dbase with about 30 heading. I would like to be able to search the dbase in two ways. One column heading is keywords which has a string of words. I would like to search those keywords to return the record.

Crankhandle
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Feb 10, 2005 9:39 am   
 
Take a look at the the %query function in the help. It takes an expression as its parameter and can use any other function in that expression, such as %pos, %match, and %if. While I never tried it you could likely even place an %exec directly in the %query to build a results variable and eliminat the need to loop through the query results.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
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