| Message |
As the title implies, I am having a bit of trouble getting a plug-in capturing numerical values like it should. All of the triggers seem to be working perfectly, and when tested offline each mechanism seems to work. However, in-game there seems to be some sort of each. The code below is the specific portion which should capture the numerical values, but doesn't. I'll explain what each is suppose to do in further detail if necessary.
<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")
Execute ("reforge")
elseif %2 < @min_precision then
SetVariable ("reforge", "on")
SetVariable ("next", "on")
Execute ("reforge")
elseif %3 < @min_speed then
SetVariable ("reforge", "on")
SetVariable ("next", "on")
Execute ("reforge")
end -- if</send>
</trigger>
<trigger
expand_variables="y"
group="Forging"
ignore_case="y"
match="Physical blunt: *"
send_to="12"
sequence="100"
>
<send>if @stat_cut < @min_cut then
SetVariable ("reforge", "on")
SetVariable ("next", "on")
Execute ("reforge")
elseif @reforge == on then
SetVariable ("reforge", "off")
SetVariable ("next", "on")
elseif %1 < @min_blunt then
SetVariable ("reforge", "on")
SetVAriable ("next", "on")
Execute ("reforge")
end -- if</send>
</trigger>
<trigger
expand_variables="y"
group="Forging"
ignore_case="y"
match="Physical cutting: *"
send_to="12"
sequence="100"
>
<send>SetVariable ("stat_cut", "%1")</send>
</trigger>
</triggers>
|
if me = "confused" then
SetVariable ("idiot", "yes")
Send ("choke")
DoAfter (3, "curse")
else Send ("fist pumpage")
end -- if | top |
|