init start
local creatures = {"stalker"}
init end
auto(200)
table.lower(creatures)
foreach newmessage m do
if m.type == 18 then
local x = string.lower(string.match(m.content, 'You lose %d+ hitpoints due to an attack by .- (.-)%.') or '')
if table.find(creatures, x) then
if not findcreature(x) then
-- what now?
end
end
end
end
You should decide what kind of function you'll do to attack that monster, here's an example:
if cancastspell("exori") then
cast("exori")
waitping()
end
Last edited by Donatello; 12-16-2013 at 04:32 AM.
Hello, someone got hotkey for unrusty armors?
thanks
try but i didnt test it:
--[[ Settings ]]
local BACKPACK_NAME = getlootingdestination('backpack name')
local DROP_TRASH = true
local ITEMS_TO_DROP = {3358, 3359, 3557, 3377, 3372, 3357}
--[[ ENGINE ]]
local RUSTY_ITEMS = {8895, 8896, 8898, 8899}
auto(400)
if (maround(7) == 0) then
for i=1, #RUSTY_ITEMS do
if (itemcount(RUSTY_ITEMS[i]) > 0 and itemcount(9016) > 0) then
pausewalking(1000)
useitemon(9016, RUSTY_ITEMS[i], BACKPACK_NAME)
wait(1000, 1200)
end
end
if (DROP_TRASH == true) then
for i=1, #ITEMS_TO_DROP do
if (itemcount(ITEMS_TO_DROP[i]) > 0) then
dropitems(ITEMS_TO_DROP[i])
wait(800, 950)
end
end
end
end
Last edited by mistgun; 12-21-2013 at 09:56 AM.
Hey raph could you get some time to make us a Area Rune shooter with optional strike spells depending the amount of monsters? different strike spells types though, like vis, frigo, etc.... and also, Special Area HUD hehe.
Thanks!
Hello, how to drop flasks while hunting?
hello, can u post, pause targeting and cave bot hotkey?