@Raphael olha o pvt por favor!! tive uma boa ideia!!
@Raphael olha o pvt por favor!! tive uma boa ideia!!
hey raphael, I want to edit these persistents to when I'm attacked by any player, the bot will run execute the same actions it would if it were without supplies (go to dp and refill)
auto(800, 1000)
if itemcount(getuseroption('mpId', 'all')) < getuseroption('mpCheck') and $posz == 10 and $lootbodies < 1 and $battlesigned
then
setsetting("Persistent/Scripts/ForceRefillLower/Enabled","no")
settargeting("off")
gotolabel("leave lower")
end
if itemcount(getuseroption('hpId', 'all')) < getuseroption('hpCheck') and $posz == 10 and $lootbodies < 1 and $battlesigned
then
setsetting("Persistent/Scripts/ForceRefillLower/Enabled","no")
settargeting("off")
gotolabel("leave lower")
end
if $cap < getuseroption('capCheck') and $posz == 10 and $lootbodies < 1 and $battlesigned
then
setsetting("Persistent/Scripts/ForceRefillLower/Enabled","no")
settargeting("off")
gotolabel("leave lower")
end
auto(800, 1000)
if itemcount(getuseroption('mpId', 'all')) < getuseroption('mpCheck') and $posz == 9 and $lootbodies < 1 and $battlesigned
then
setsetting("Persistent/Scripts/ForceRefill/Enabled","no")
settargeting("off")
gotolabel("leave normal")
end
if itemcount(getuseroption('hpId', 'all')) < getuseroption('hpCheck') and $posz == 9 and $lootbodies < 1 and $battlesigned
then
setsetting("Persistent/Scripts/ForceRefill/Enabled","no")
settargeting("off")
gotolabel("leave normal")
end
if $cap < getuseroption('capCheck') and $posz == 9 and $lootbodies < 1 and $battlesigned
then
setsetting("Persistent/Scripts/ForceRefill/Enabled","no")
settargeting("off")
gotolabel("leave normal")
end
Hi, i need an action to advertising
auto(800, 1000)
if $lootbodies == 0 and $battlesigned then
local mpId, hpId = tonumber(getuseroption('mpId')), tonumber(getuseroption('hpId'))
local mpCheck, hpCheck, capCheck = tonumber(getuseroption('mpCheck')), tonumber(getuseroption('hpCheck')), tonumber(getuseroption('capCheck'))
if itemcount(mpId) < mpCheck or itemcount(hpId) < hpCheck or $cap < capCheck or $pattacker.id ~= 0 then
if $posz == 10 then
gotolabel("leave lower")
else
gotolabel("leave normal")
end
setsetting("Persistent/Scripts/ForceRefill/Enabled", "no")
settargeting("off")
end
end
There's no need for two hotkeys, use a single one.
Last edited by Raphael; 08-08-2014 at 09:50 PM.
how can I put hotkeys for example I want sd on delete so when i press delete it will sd the target im attacking ?
would have some hotkey to attack vis hur?
Hey, @Raphael I need an action to
if $posz == X and local time > 4:15 and local time < 4:59 and $pzone then
logout()
it's possible?
Last edited by lele; 08-08-2014 at 01:30 PM.