Alright, here is the problem, I have made a small set of triggers to handle forging in Lusternia. Along with all of the variables and aliases to handle it. The issue is that aliases entered into the triggers don't seem to function. At least, they won't work when called up automatically, but when I enter them in manually they work perfectly. Even the triggers passes testing. I just don't know why. Here is an example:
<triggers>
<trigger
expand_variables="y"
group="Forging"
ignore_case="y"
match="Damage: * Precision: * Speed: *"
send_to="12"
sequence="100"
>
<send>if %1 < @min_damage then
SetVariable ("reforge", "on")
SetVariable ("next", "on")
Send ("reforge")
elseif %2 < @min_precision then
SetVariable ("reforge", "on")
SetVariable ("next", "on")
Send ("reforge")
elseif %3 < @min_speed then
SetVariable ("reforge", "on")
SetVariable ("next", "on")
Send ("reforge")
end -- if</send>
</trigger>
</triggers>
Like I said, the problem is that it won't reference the aliases properly. More specifically, it acts as if the alias doesn't exist at all or that the syntax is incorrect for the alias being called, but when I enter the alias manually it does the action it is supposed to perform. Am I not doing that part correctly? I have done Send ("wazzamazoo")plenty of times before in other triggers and it works. Maybe there is an option I don't have selected? This code seems to be pretty solid based on what I have seen from search results. Again, it is probably some amateur mistake that I over-looked. Thanks for any input.
<triggers>
<trigger
expand_variables="y"
group="Forging"
ignore_case="y"
match="Damage: * Precision: * Speed: *"
send_to="12"
sequence="100"
>
<send>if %1 < @min_damage then
SetVariable ("reforge", "on")
SetVariable ("next", "on")
Send ("reforge")
elseif %2 < @min_precision then
SetVariable ("reforge", "on")
SetVariable ("next", "on")
Send ("reforge")
elseif %3 < @min_speed then
SetVariable ("reforge", "on")
SetVariable ("next", "on")
Send ("reforge")
end -- if</send>
</trigger>
</triggers>
Like I said, the problem is that it won't reference the aliases properly. More specifically, it acts as if the alias doesn't exist at all or that the syntax is incorrect for the alias being called, but when I enter the alias manually it does the action it is supposed to perform. Am I not doing that part correctly? I have done Send ("wazzamazoo")plenty of times before in other triggers and it works. Maybe there is an option I don't have selected? This code seems to be pretty solid based on what I have seen from search results. Again, it is probably some amateur mistake that I over-looked. Thanks for any input.