 |
Solaras Wanderer
Joined: 11 Mar 2002 Posts: 93
|
Posted: Tue Sep 02, 2003 1:39 pm
Follow trigger |
I am trying to make a trigger to update my map when following.
this is the mud output:
You follow Jolly Green Giant, The Tall Guy west to A Forest
I tried to make the trigger as follows
You follow * (%t) to *
and the command
#MOVE %t
that didnt work and my pattern testing comes up with no match
anyone have a solution? |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Sep 02, 2003 2:16 pm |
A little testing will reveal that %t matches single-letter directions. Since your output is full words, use %w instead.
Pattern:
You follow * (%w) to
Command:
#MOVE %1 |
|
|
 |
Droid Novice
Joined: 28 Aug 2003 Posts: 49
|
Posted: Tue Sep 02, 2003 2:39 pm |
You follow * %3 to *
#MOVE %3
try that. |
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Sep 02, 2003 4:25 pm |
No, don't use Droid's example. Sorry, Droid but we discourage all use of %1..%n inside a trigger's pattern. I believe that this was initially supported for TinTin compatibility, but right now it is deprecated. Using that syntax inside a trigger's pattern is not technically correct and results might be unexpected.
|
|
|
 |
|
|