macro(100, "Sio Friend", function()
local friend = getPlayerByName(storage.healFriend)
if friend and friend:getHealthPercent() < tonumber(storage.healFriendPercent) then
say("Exura sio \"" .. storage.healFriend)
delay(1000)
end
end)
addLabel("sioname", "Naxon Kuba")
addTextEdit("healfriend", storage.healFriend or "", function(widget, text)
storage.healFriend = text
end)
addLabel("siopercent", "70")
addTextEdit("healfriendpercent", storage.healFriendPercent or "", function(widget, text)
storage.healFriendPercent = text
end)
Paste Hosted With By Wklejamy.pl