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


Joined: 22 Oct 2004
Posts: 2

PostPosted: Fri Apr 15, 2005 11:41 pm   

Question about %w
 
I once used %w factor to open a closed door automatically after walking into it...

Direction: North
Trigger: the %w is closed.
Open %w.

But instead of opening north, it says open door which doesn't work for the particular game I play. Any suggestions? I'm quite new to working triggers and I'm just starting to read through a lot of the stuff on this site.
Reply with quote
Kiasyn
Apprentice


Joined: 05 Dec 2004
Posts: 196
Location: New Zealand

PostPosted: Sat Apr 16, 2005 2:27 am   
 
#TRIGGER {the %w is closed.} {open %1}
_________________
Kiasyn
Owner of Legends of Drazon
Coder on Dark Legacy
Check out Talon, an easy IMC connection.
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Sat Apr 16, 2005 7:47 am   
 
#TRIGGER {the * is closed.$} {open %lastcom}
Reply with quote
asm
Wanderer


Joined: 19 Jul 2004
Posts: 68

PostPosted: Sun Apr 17, 2005 6:10 am   
 
Store the direction in a variable, and 'open @dir'
_________________
My collections of scripts.
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