Hello, i just install AH Bot, set a buyout price and some filters, than it returns to me :
Lua Fail :
SnipeBuyout.lua:11: attempt to compare a boolean with a number
This is my snipeBuyout.lua :
Code:
--[[
Simple traditional buyout bot that will buyout loop first item. User will
be prompt to set buyout if not already set. It will then adjust the buyout
each loop by a small random margin.
]]--
-- get user buyout
local buyout = haFilterBuyout (3000000, randomize)
-- check input
if buyout <= 0 then
haAlert('Set some filters and a low buyout')
else
while true do
-- update buyout with randomize
haFilterBuyout(buyout, true)
haFilterLevel(60, 60)
-- search and select first item in list
if haSearch() and haListSelect(1) then
-- get item object
local item = haItem()
-- prompt to confirm buyout. this is purely so new users dont
-- lose $$$. remove otherwise.
if haPrompt('buy "' .. item.name .. '" for ' .. item.buyout .. '?\n\n(CTRL-F12 to stop script)') then
haBuyout()
end
end
end
end