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
Bajed
Novice


Joined: 15 Aug 2004
Posts: 33

PostPosted: Mon Mar 13, 2006 8:55 am   

List only KEYS from a record variable in status window.
 
Any way to do this? Basically I have a record var that looks like this:

key 1 ..... some random value
key 2 ..... another random value
key 3 ..... more random stuff
blah ..... still random stuff!


And I want my status window to list this record as follows:

.... Stuff ....
key 1
key 2
key 3
blah


without the values, just the keys from the db record. I can use %expanddb() to show it all, but it doesn't appear I can only show the keys. any ideas?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Mon Mar 13, 2006 11:23 am   
 
%replace(%exec("#LOOPDB @Record {%key}"),"|",%cr)

That would do it, but it will likely cost you a fair amount of speed during any busy updates. You should put it into its own #STW setting and give that an ID. That will allow you to turn it of with #T- during updates.
_________________
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