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 Beta Forum
adamwalker
Apprentice


Joined: 12 Mar 2005
Posts: 195

PostPosted: Tue Nov 14, 2006 1:24 pm   

[1.15] 0s and 1s tagged onto results
 
If varone and vartwo equal "0" then the output is...

kill rabbit 1 1

Code:
#if ((@varone = 0) or (@vartwo = 0)) {kill rabbit}


and

Code:
#if ((@varone = 1) and (@vartwo = 1)) {kill rabbit}


returns "kill rabbit 1 1 1"
Reply with quote
saet
Apprentice


Joined: 12 Jun 2006
Posts: 106

PostPosted: Tue Nov 14, 2006 2:58 pm   
 
Works for me.
Reply with quote
adamwalker
Apprentice


Joined: 12 Mar 2005
Posts: 195

PostPosted: Tue Nov 14, 2006 3:57 pm   
 
hmmm, is working for me too on reinstall. how odd
Reply with quote
Zugg
MASTER


Joined: 25 Sep 2000
Posts: 23379
Location: Colorado, USA

PostPosted: Tue Nov 14, 2006 5:30 pm   
 
OK, that's just really wierd. I don't even know how I could make the code do this on purpose if I wanted to.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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