|
daemoan Beginner
Joined: 04 Feb 2008 Posts: 23
|
Posted: Tue Feb 12, 2008 7:25 am
Sticky Hush Hush Question |
If This is my pattern:
witch works only when I have a person target
and this is my trigger:
Code: |
stampede @target north |
if tryd this for pattern
but it doest not work...... therefore I must have one for each direction atm
this is my problem
my trigger feels the need to fire in random directions, random 2 -4 times including the one its suppose to....
I was also looking into this {nocr} Thing, I couldnt get that to work well wither with the trigger.... |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Tue Feb 12, 2008 7:34 am |
#TRIGGER {~[~[(%w)~]~] (@target)} {stampede %2 %1}
But why the "hush hush"? Are you trying to bot when your MUD says it's not allowed? Not cool at all. |
|
|
|
daemoan Beginner
Joined: 04 Feb 2008 Posts: 23
|
Posted: Tue Feb 12, 2008 7:42 am LOL |
Naw, not a bot more like an auto attack...
I just thought the name was catchy...
you?
and on the [[North]] the brackets I had to double up for zmud to just reconize [North] does that still factor into your equation? |
|
|
|
charneus Wizard
Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Tue Feb 12, 2008 1:53 pm |
If the MUD output is only [North], then you'll need to change it to:
#TRIGGER {~[(%w)~] ({@target})} {stampede %2 %1}
It's a slight change from the first one. I realized I forgot to surround the @target in brackets. That should work for you. And auto-attacks can be considered bots, especially if used with scan. :P
Charneus |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Tue Feb 12, 2008 5:48 pm |
You only need the braces around the @target in the pattern if it's a list of targets, which it doesn't seem to be, given your previous example with stampede @target - if it is a list, though, go ahead.
|
|
|
|
|
|