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


Joined: 05 Nov 2006
Posts: 2

PostPosted: Sun Nov 05, 2006 1:26 am   

the #showdb command
 
Whoever is familiar with the #showdb command for displaying the values of data record variables, can hopefully tell me why in my settings, and alias that executes the following command

#al searchsum {#showdb @comfound}

will display

Comfound:
Morgana: 13 Iron at 230 each
Nassau: 10 Iron at 400 each
Greeny: 25 Iron at 350 each

(which is exactly the data I put IN to the @comfound variable)

but in certain friends' settings the #showdb command seems to return nothing at all... even with identical values in the @comfound variable itself. #show will work in those cases, but if any of you have used #showdb with success, you'll know that it's output is much prettier for data record vars than #show is.

Any help would be greatly appreciated,

-bowdyn
Reply with quote
Full Throttle
Wanderer


Joined: 07 Dec 2004
Posts: 65

PostPosted: Sun Nov 05, 2006 2:55 am   
 
#addkey comfound {Morgana=13 Iron at 230 each|Nassau=10 Iron at 400 each|Greeny=25 Iron at 350 each}
#showdb @comfound

Morgana: 13 Iron at 230 each
Nassau: 10 Iron at 400 each
Greeny: 25 Iron at 350 each

There are other commands to display the above output, like:

#loopdb @comfound {#show {%key: %val}}

#show %expanddb(@comfound,%crlf,": ")

#show %replace(%replace(@comfound,%char(29),%crlf),%char(30),": ")

Maybe ask your friend to turn off triggers to see if showdb displays correctly.
Reply with quote
outernet2
Newbie


Joined: 05 Nov 2006
Posts: 2

PostPosted: Sun Nov 05, 2006 10:04 am   #showdb command
 
Hey Throttle, thanks a ton for your help... every one of those suggestions worked like a charm... actually heard back from my friend, and it was a zmud preference we missed...

"It was settings. General parsing and echo messages wasn't checked".

So for anyone else who's experienced this problem, there you are.
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