|
quirk Novice
Joined: 16 Aug 2003 Posts: 31 Location: USA
|
Posted: Sun Aug 31, 2003 8:20 pm
Help with this trigger please |
I am trying to trigger off the exit direction. I am not good at programming so why would this trigger not work and what would?
Obvious exits:
Down - Central Grove of Shannelle [3005]
Trigger
Down - %1 [%2]
Action
dig d %2
I do not care about the name between I just want to pull the number. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Aug 31, 2003 9:00 pm |
Your trigger won't work because it contains special characters which you treated like ordinary characters. Read the helpfile on Patterns/Pattern Matching.
Trigger
Down - * ~[(%d)~]
Action
dig d %1 |
|
|
|
quirk Novice
Joined: 16 Aug 2003 Posts: 31 Location: USA
|
Posted: Sun Aug 31, 2003 9:13 pm |
Lightbulb you are the man...... and i read up on those and looked at what you gave me and understood it :)
|
|
|
|
|
|