what's wrong with this?
I'ts not gfbing stalkers for me.
init start
function inputevents(e)
print(e)
end
filteruseroptions(true)
init end
auto(1000)
-- your script here --
init start
local invisCreatures = {"Stalker"}
local stuckTime = 0 -- Set to 0 to always attack
-- Do not edit below
table.lower(invisCreatures)
local spellToUseInfo = spellinfo(spellToUse)
if spellToUseInfo.castarea == 'None' then
spellToUseInfo = runeinfo(spellToUse)
end
init end
auto(100)
if $standtime >= stuckTime then
foreach newmessage m do
if m.type == MSG_STATUSLOG then
local _, _, name = m.content:match('^You lose (%d+) (%l+) due to an attack by ?a?n? (.-)%.$')
if name and table.find(invisCreatures, name:lower()) and maround(7, name:lower()) == 0 then
if ((paround(10) == 0 and pvp and $timems - $playerlastseen > 6000) or not pvp) then
pausewalking(1000)
useoncreature("Great Fireball Rune" , $self)
pausewalking(0)
end
end
end
end
end
if $standtime > 3000 and $wptsection == 'Hunt' and ((paround(10) == 0 and pvp and $timems - $playerlastseen > 6000) or not pvp) and (not $looting) then
pausewalking(1000)
useoncreature("Great Fireball Rune" , $self)
pausewalking(0)
end