Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
jibbelz
Newbie


Joined: 03 Jan 2022
Posts: 1

PostPosted: Mon Jan 03, 2022 8:06 pm   

Need help converting something from zmud into cmud.
 
Hello all,

I've been using zMud for a loooooong time now. Generally when I need help with something a google search will point me where i need to go, but this time it is above my pay grade. I am attempting to make the switch to cMud and one of my main movement aliases wont convert over.

http://forums.zuggsoft.com/forums/viewtopic.php?t=15739

I tried changing the "&" to "&&" and also to "AND" but that hasn't done anything for me so I'm guessing it is in some function change I haven't been able to find.

Any assistance would be greatly appreciated!
Thank you!
Reply with quote
hpoonis2010
Adept


Joined: 18 Jun 2019
Posts: 279

PostPosted: Tue Jan 04, 2022 6:19 am   
 
#IF ((condition 1) AND (condition2)) {do something} {do something else}

or

#IF ((condition 1) OR (condition2)) {do something} {do something else}

of course these can be more complex

#IF ((condition 1) AND ((condition2) OR (condition 3))) {do something} {do something else}

I looked at that article and had no idea what the guy was trying to achieve. Seems like re-inventing the wheel to me.

If you have named rooms (shortname) just type

#walk shortname
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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