Code: Select all
local target = player:getTarget()
local _tb = false
local spawnboss = player:findNearestNameOrId(999999)
if spawnboss then
player:target(spawnboss)
Code: Select all
local target = player:getTarget()
local _tb = false
local spawnboss = player:findNearestNameOrId(999999)
if spawnboss then
player:target(spawnboss)
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
startGMDetect()
changeProfileOption("EGGPET_ENABLE_ASSIST", "false")
changeProfileSkill("SCOUT_AUTOSHOT", "AutoUse", true);
changeProfileOption("AUTO_ELITE_FACTOR", 100000)
changeProfileOption("MAX_TARGET_DIST", 180);
changeProfileOption("COMBAT_DISTANCE", 170);
function woodenarrow()
if inventory:getAmmunitionCount() == 0 then
inventory:useItem(210304)
end
end
function spam()
local timetowait = 43200 --43200 sec. = 12 Hours
local starttime = os.time()
repeat
local target = player:getTarget()
local _tb = false
local spawnboss = player:findNearestNameOrId(106770)
if spawnboss then
player:target(spawnboss)
if target.HP > 0 then
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,17)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,20)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,9)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,14)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,13)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
player:update();
if inventory:getAmmunitionCount() == 0 then
inventory:useItem(210304)
end
end
end
until os.time() - starttime >= timetowait
cprintf(cli.lightred, "Time out!\n")
RoMScript("QuitGame()");
end
</onLoad>
</waypoints>
Code: Select all
local target = player:getTarget()
local _tb = false
local spawnboss = player:findNearestNameOrId(106770)
if spawnboss then
player:target(spawnboss)
if target.HP > 0 then
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
startGMDetect()
changeProfileOption("EGGPET_ENABLE_ASSIST", "false")
changeProfileSkill("SCOUT_AUTOSHOT", "AutoUse", true);
changeProfileOption("AUTO_ELITE_FACTOR", 100000)
changeProfileOption("MAX_TARGET_DIST", 180);
changeProfileOption("COMBAT_DISTANCE", 170);
function woodenarrow()
if inventory:getAmmunitionCount() == 0 then
inventory:useItem(210304)
end
end
function spam()
local timetowait = 43200 --43200 sec. = 12 Hours
local starttime = os.time()
repeat
local target = player:getTarget()
local _tb = false
local spawnboss = player:findNearestNameOrId(106770)
if spawnboss then
player:target(spawnboss)
if target.HP > 0 then
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,17)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,20)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,9)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,14)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,13)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
player:update();
if inventory:getAmmunitionCount() == 0 then
inventory:useItem(210304)
end
end
end
until os.time() - starttime >= timetowait
cprintf(cli.lightred, "Time out!\n")
RoMScript("QuitGame()");
end
</onLoad>
<!-- # 4 --><waypoint x="3062" z="-14982" y="290">spam() </waypoint>
</waypoints>
Code: Select all
mob = player:getTarget()
if mob.Aggressive then
-- It's a red named aggressive mob, so fight it.
else
-- it's a yellow named passive mob, so ignore it.
end
Code: Select all
player:findNearestNameOrId(107772)
Code: Select all
<?xml version="1.0" encoding="utf-8"?><waypoints>
<onLoad>
startGMDetect()
changeProfileOption("EGGPET_ENABLE_ASSIST", "false")
changeProfileSkill("SCOUT_AUTOSHOT", "AutoUse", true);
changeProfileOption("AUTO_ELITE_FACTOR", 100000)
changeProfileOption("MAX_TARGET_DIST", 180);
changeProfileOption("COMBAT_DISTANCE", 170);
function woodenarrow()
if inventory:getAmmunitionCount() == 0 then
inventory:useItem(210304)
end
end
function spam()
local timetowait = 43200 --43200 sec. = 12 Hours
local starttime = os.time()
repeat
local target = player:getTarget()
local _tb = false
local spawnboss = player:findNearestNameOrId(106770)
if spawnboss then
player:target(spawnboss)
if target.HP > 0 then
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,17)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,20)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,9)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,14)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(4,13)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
sendMacro("UseSkill(4,2)")
sendMacro("UseSkill(2,2)")
player:update();
if inventory:getAmmunitionCount() == 0 then
inventory:useItem(210304)
end
end
end
until os.time() - starttime >= timetowait
cprintf(cli.lightred, "Time out!\n")
RoMScript("QuitGame()");
end
</onLoad>
<!-- # 4 --><waypoint x="3062" z="-14982" y="290">spam() </waypoint>
</waypoints>
Code: Select all
sendMacro("UseSkill()")
Code: Select all
TargetNearestEnemy()
Code: Select all
local target = player:getTarget()
local _tb = false
local spawnboss = player:findNearestNameOrId(106770)
if spawnboss then
player:target(spawnboss)
Code: Select all
local target = player:getTarget()
local _tb = false
local mobs = player:findEnemy()
if mobs then
Code: Select all
local mobs = player:findEnemy(nil,nil,evalTargetDefault)
if mobs then
player:target(mobs)
etc...
Users browsing this forum: Bing [Bot] and 1 guest