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
chris74269
Novice


Joined: 26 Mar 2003
Posts: 40

PostPosted: Tue May 25, 2004 3:18 am   

mapper
 
in one of the main realms of the mud i play on, there are areas in it which move about. like you type enter forest to enter the area, but the forest moves about. now this poses a problem when mapping it because there is no room to connect to it really, is there anyway to create an alias that forces the mapper to a room? like #alias {open fridge} {open fridge;#FORCE 4526}?
Reply with quote
Serentus
Apprentice


Joined: 28 Sep 2001
Posts: 103
Location: USA

PostPosted: Tue May 25, 2004 10:25 am   
 
#ALIAS {openfridge} {open fridge;#TELEPORT 4526}

For more info on the #TELEPORT command and others like it you can check out the help files.
Reply with quote
chris74269
Novice


Joined: 26 Mar 2003
Posts: 40

PostPosted: Sat May 29, 2004 4:31 am   
 
anyway to make the trigger so i can use open fridge instead of openfridge? i tried this:
#ALIAS {open fridge} {~open fridge;#TELEPORT 4526}
but it failed
Reply with quote
hykou
Wanderer


Joined: 29 Apr 2004
Posts: 63
Location: USA

PostPosted: Sat May 29, 2004 5:57 am   
 
take out the ~
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sat May 29, 2004 6:07 am   
 
I don't believe you can have 2word alias's Use
#ONINPUT {^open fridge} {Open fridge;#TELE 4526}
Or just trigger off a message you might get after opening the fridge
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Sat May 29, 2004 3:08 pm   
 
I think that's going to be a trigger loop, nexela. Probably need to use #SEND to avoid it.
#ONIN {^open fridge} {#SEND {open fridge};#TELE 4526}

This can also be done with an alias, but it will need to be just one word. Even though it's possible to make two word aliases, they don't work.
#AL open {#IF ("%1" = "fridge") {#TELE 4526};~open %1}
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