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
ShadowsPirate
Beginner


Joined: 15 Jun 2007
Posts: 17

PostPosted: Mon Oct 13, 2008 2:24 am   

Using the repeat(#) in different ways.
 
Code:
#if (@amount>=6) {#6 {blah}} {#@amount {blah}}


Trying to make it so if its, obviously, greater then or equal to 6, it does it 6 times. If not, it does it the rest of the amount in the variable @amount. But it isn't exactly working...nothing shows up when I try, actually. Any suggestions?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Oct 13, 2008 2:38 am   
 
#loop 1,@amount {blah}
_________________
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