macro(1000, 'POTOWANIE GITA', function()
local friendName = "DEMAG"
local healingItem = 238
local healingBelow = 70
for i, spec in ipairs(getSpectators()) do
local name = spec:getName()
local health = spec:getManaPercent()
if name == friendName and health <= healingBelow then
useWith(healingItem, spec)
end
end
end)
Paste Hosted With By Wklejamy.pl