what i wish to do , is to capture a variable , and set a variable , then compare the 2 and act upon them if circumstance dictates it .
so , my one is set by thus :-
<aliases>
<alias
name="target"
match="tar *"
enabled="y"
expand_variables="y"
variable="target"
send_to="9"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
<send>%1</send>
</alias>
</aliases>
my 2nd is set thus :-
<triggers>
<trigger
match="* leaves *"
send_to="9"
sequence="100"
variable="target2"
>
<send>%1</send>
</trigger>
</triggers>
what i wish to do is to compare them and then if they are the same to head in direction %2 and K @target .
it seems like i should be able to use *leaves * to run it but i cant figure out how .
so , a train of action ..
tar paddic. - sets target as Paddic
billy leaves north. - sets target 2 as billy , compares it to target and does nothing.
betty leaves north. - sets target 2 as betty , compares it to target and does nothing.
Paddic leaves west. - sets target2 as Paddic , compares it to target , sees it as a match .
sends :-
west
K @target
so , my one is set by thus :-
<aliases>
<alias
name="target"
match="tar *"
enabled="y"
expand_variables="y"
variable="target"
send_to="9"
ignore_case="y"
keep_evaluating="y"
sequence="100"
>
<send>%1</send>
</alias>
</aliases>
my 2nd is set thus :-
<triggers>
<trigger
match="* leaves *"
send_to="9"
sequence="100"
variable="target2"
>
<send>%1</send>
</trigger>
</triggers>
what i wish to do is to compare them and then if they are the same to head in direction %2 and K @target .
it seems like i should be able to use *leaves * to run it but i cant figure out how .
so , a train of action ..
tar paddic. - sets target as Paddic
billy leaves north. - sets target 2 as billy , compares it to target and does nothing.
betty leaves north. - sets target 2 as betty , compares it to target and does nothing.
Paddic leaves west. - sets target2 as Paddic , compares it to target , sees it as a match .
sends :-
west
K @target