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
dracx
Beginner


Joined: 14 Oct 2000
Posts: 26
Location: USA

PostPosted: Sun Feb 17, 2002 11:04 pm   

looping alias
 
In one particular zone on my map, there are TONS of exits that involve climbing stairs.
What I want to accomplish is this... I want to have an alias that goes through each room in the zone, and finds the rooms that have an exit called 'climb stairs'. When it finds those rooms, I want to insert the following command in to the 'script' for THAT ROOM. Here is the command I want in there...

#TEMP {Obvious} {#STEP}

The reason for this is that there is an extended delay that steps all over the slowwalking, and I want it to continue when going through these rooms. However, this is a little advanced for me, especially in the new editor.

If anyone can work something out, I'll kiss your feet.

Drac-X
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Mon Feb 18, 2002 12:51 am   
 
#LOOP 1,%numrooms() {#IF (%roomportal(%mapvnum(%i), "climb stairs")) {#NOOP %roomcom(%mapvnum(%i), "#TEMP {Obvious} {#STEP}")}}

Untested, might not work

Kjata
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