About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
chris123zugg
Adept


Joined: 23 Aug 2013
Posts: 207

PostPosted: Mon Feb 17, 2025 1:58 am   

database clearing
 
How do i use #delkey to remove all items in %key and %val?

i've tried:
#delkey angreals %key %val


#loopdb angreals {%delkey(angreals,%key)}
#IF (%2>1) {#addkey angreals %1 %2}

this worked but i dont think it's the way it should be used???

edit:
hahahah of course shalimar has already showed me by showing me an example of building a database var

angreals=%null
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