|
STLmud Newbie
Joined: 12 Mar 2003 Posts: 2
|
Posted: Sun Apr 06, 2003 9:47 pm
Walking a defined route |
Hi...I'm not very familar with Zmud...sort of learning on the fly. I want to be to move from room to room in an area by entering a command. But I have had no luck... this is what i tried:
#VAR roomz 0
#PATH room2 wesn
#ALIAS forfun (
%if( @roomz==1, .nsew)
%if( @roomz==2, .room2)
#ADD roomz 1
)
Been searching the forum. But no luck so far.
~a clueless newbie |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Apr 07, 2003 1:48 am |
Use #IF to send commands.
#AL forfun {#IF (@roomz = 1) {.nsew};#IF (@roomz = 2) {.room2};#ADD roomz 1}
LightBulb
Advanced Member |
|
|
|
STLmud Newbie
Joined: 12 Mar 2003 Posts: 2
|
Posted: Mon Apr 07, 2003 2:06 am |
Thank you so much...was finding this very confusing.
|
|
|
|
|
|