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
Stowslee
Wanderer


Joined: 20 Apr 2008
Posts: 69
Location: Watervliet, NY

PostPosted: Wed Jan 21, 2009 6:16 am   

Question about triggers and database records
 
Is there any way to set a value in a database say true/false through a trigger received?
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Wed Jan 21, 2009 2:15 pm   
 
Yes... You want to start by reading through Introduction to Databases and focusing on Programming the Database
_________________
Asati di tempari!
Reply with quote
Stowslee
Wanderer


Joined: 20 Apr 2008
Posts: 69
Location: Watervliet, NY

PostPosted: Thu Jan 22, 2009 7:59 pm   
 
Alright.... I have that fairly well situated but another problem has come up. I seem to have trouble referring to a stringlist with the @StringName... for example


#loopdb @slicecurecheck {#if (%val=1) {#if %key=@liverCures {#echo Use Liver}}}

I basically want to check to see if the Word which in this case is the key matches a part of a specific stringlist and if they do match cause it to execute a certain command. Though I may certainly be going about this entirely the wrong way.
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