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
12-16-2013, 08:24 AM
Dworak
Quote:
Originally Posted by Raph_
Fixed, just use this new persistent, I did two errors with case sensitivity
Not working ;/
function buyItemsAndMove(supply, itemName, Amount, CurrentAmount)
did i need change itemName or it will check from category 'a' ?
12-16-2013, 03:25 PM
RoxZin xD
Quote:
Originally Posted by Raph_
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
That's all I need, I can variate it with runes/exori/mas san, thank you very much <3
12-16-2013, 04:25 PM
Harvi
Hello, someone got hotkey for unrusty armors?:D
thanks
12-16-2013, 04:44 PM
mistgun
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
12-16-2013, 06:42 PM
joraanpe
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!
12-17-2013, 01:02 AM
brateq
Hello, how to drop flasks while hunting?
12-17-2013, 02:10 AM
tomaszsvd
hello, can u post, pause targeting and cave bot hotkey?
12-17-2013, 08:44 PM
Tinicius
I need an action to alarm when appears on server log "Loot of zugurosh" but idk how to make :c