|
FuSoYa Novice
Joined: 10 Feb 2007 Posts: 34 Location: Denton, TX
|
Posted: Sun Oct 04, 2009 2:36 pm
Easy question |
Ok, so if I'm in my MUD and I run in to a door and it returns this message:
The door seems to be closed.
What trigger do I set up so that it automatically will input 'open door'.
I tried using the database variable in place of both doors but it didn't work.
Thanks.
Brandon |
|
|
|
Josiah.Bruns Apprentice
Joined: 04 Mar 2007 Posts: 103
|
Posted: Sun Oct 04, 2009 2:59 pm |
<trigger>
<pattern>The door seems to be closed.</pattern>
<value>open door</value>
</trigger> |
|
|
|
FuSoYa Novice
Joined: 10 Feb 2007 Posts: 34 Location: Denton, TX
|
Posted: Sun Oct 04, 2009 3:05 pm |
Yes, that would work. But... I'm wanting it in case the argument is different for door....
So for instance. The doorway seems to be closed. The trapdoor seems to be closed.
The <insert door like thing> seems to be closed.
Does that make sense? Basically so it will grab whatever it is and use that after open.
Brandon |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Oct 04, 2009 4:15 pm |
(%w), this will lead you to the phrase "open %1"
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
FuSoYa Novice
Joined: 10 Feb 2007 Posts: 34 Location: Denton, TX
|
Posted: Sun Oct 04, 2009 5:41 pm |
MattLofton wrote: |
(%w), this will lead you to the phrase "open %1" |
This worked Matt. Thanks. Though I had to use %1 and then open %1.
Brandon |
|
|
|
|
|