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


Joined: 05 Sep 2005
Posts: 11

PostPosted: Fri Oct 05, 2007 6:42 pm   

trigger off a null return
 
I'm trying to make it so that whenever I see a groupmate for the first time I add him to my database - got that part working with #new. Now I'm trying to make it so that person is updated whenever i see them again. therefore i need to do a %find to check to see if that person is already in the database and im trying to trigger off my #new off a null return (if the %find returns nothing then that means they are not in the database and need to be #NEWed).

Any help would be greatly appreciated.

oh yeah, anybody know how well zmud handles database transactions? are they fast or if i do a lot of them will my computer slow down?



THANKS!
Reply with quote
kibln8
Beginner


Joined: 05 Sep 2005
Posts: 11

PostPosted: Fri Oct 05, 2007 6:55 pm   
 
found my answer #IF %null(%find([Character Name],[Database Name],[Field Name]))=1 {#NEW} {#DBPUT}
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