|
jibbelz Newbie
Joined: 03 Jan 2022 Posts: 1
|
Posted: 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! |
|
|
|
hpoonis2010 Adept
Joined: 18 Jun 2019 Posts: 279
|
Posted: 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 |
|
|
|
|
|