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


Joined: 08 Jul 2003
Posts: 16

PostPosted: Wed Jul 09, 2003 3:12 am   

Simple #IF command
 
I can't seem to get this to work. I've tried it in aliases and triggers and just typing it in. My code goes like this:
#IF (@mobs<1000000) {stats}{score}
when i #echo @mobs before putting in the if statement the value comes out 1,319,937 (without the commas) so it should send 'score' to the mud right? i've tried sending diffent stuff including echoing stuff or saying stuff or doing math functions but none of them work, it appears as if the IF command just isn't running or something.
any help please?
thanks!
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Wed Jul 09, 2003 3:20 am   
 
You need a space where I put the underscore.
#IF (@mobs<1000000) {stats}_{score}
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