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


Joined: 20 Dec 2002
Posts: 7
Location: USA

PostPosted: Wed Feb 12, 2003 3:38 am   

array variable problem
 
I have:

#VAR ddoor {-1|0}
#ADD ddoor.2 1

I want the above to result in:

@ddoor = "-1|1"

I used to work, but doesn't in 6.53. Any suggestions?

"Unheard of means only it's undreamed of yet,
Impossible means not yet done."
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Feb 12, 2003 4:29 am   
 
This is a beta question. Please post further questions in the beta forum.

#VAR ddoor {-1|0}
#VAR ddoor {%replaceitem( %eval( %item( @ddoor, 2) + 1), 2, @ddoor)}

LightBulb
Advanced Member
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