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


Joined: 31 Dec 2009
Posts: 1

PostPosted: Thu Dec 31, 2009 1:03 pm   

using an element in an array as part of an #IF
 
Hi, I can't seem to see how (may just be being blind) to use an element in array as part of an #IF statement.

so I want to check that the value in element 1 is >10.

Anyone help?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Dec 31, 2009 6:11 pm   
 
If it's a real Array (used for COM objects), I think the function is named %arrget().

If it's a stringlist variable, you can use %item().
_________________
EDIT: I didn't like my old signature
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