|
wulv Newbie
Joined: 01 Oct 2004 Posts: 9
|
Posted: Thu Oct 07, 2004 6:31 pm
Door Opener |
Right now I have a script that opens the door if I try to go through it...Example
#TRIGGER {(%w) is closed.} {open %1}
This works great and makes my life grand...but I sometimes enter an area with two doors...to the south and the east (as an example) I want to move south so I type "s" and the script does "open door" BUT the door it just opened was the door to the east...so I have to type "open door s"
Is there a way to make a script that will know what direction I just tried to go and tag it on the end of any "open door" scripts...
I.E. If I type "s" and there is a door south the script will "open door s"
Thanks... |
|
|
|
Targa Newbie
Joined: 07 Oct 2004 Posts: 9
|
Posted: Thu Oct 07, 2004 7:59 pm |
This was just covered here: http://forums.zuggsoft.com/phpbb/viewtopic.php?t=17684
#TR {(%w) is closed} {open %1 %lastcom}
It could be %lastcom2 or %lastcom3, to be sure just type #var by itself immediately after trying to trigger a door opening. |
|
|
|
|
|