Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
darmir
Sorcerer


Joined: 10 Oct 2000
Posts: 706
Location: USA

PostPosted: Thu Apr 28, 2011 7:25 pm   

Build database record on trigger then access
 
I am trying to build a database record and access the newly created name in trigger. I can get the record to build say for instance.
#addkey charinventory_%char belt $belt

But I can't figure out how to access the newly created name? Any suggestions?
_________________
Run as hard as a wild beast if you will, but you won't get any reward greater than that destined for you.
Source: (Egyptian)
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Thu Apr 28, 2011 8:15 pm   
 
Not sure what you're asking...if you're having trouble accessing that variable, it's probably not liking the implicit concatenation, you could try something like %db(%concat("charinventory_",%char),belt).
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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