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
STLmud
Newbie


Joined: 12 Mar 2003
Posts: 2

PostPosted: 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
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
STLmud
Newbie


Joined: 12 Mar 2003
Posts: 2

PostPosted: Mon Apr 07, 2003 2:06 am   
 
Thank you so much...was finding this very confusing.
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