F1 SetTimer useShield active active 3150 off if active for in ids Cont

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
F1::
SetTimer, useShield, % (active := !active ? 3150 : "off")
if (!active)
{
for k, v in ids
{
ControlSend,, % "{vk" 31 + Mod(count, 4) " Up}", ahk_class TargemWindow ahk_id%v%
ControlSend,, {vk57 Up}, ahk_class TargemWindow ahk_id%v%
}
}
eles
useShield()
return