getting a weird error only on one character
Posted: Thu May 02, 2013 2:17 pm
Code: Select all
12:13am - ...User/Desktop/micromacro/scripts/rom/classes/item.lua:141: attempt t
o concatenate global 'tmp' (a nil value)
MicroMacro home
https://www.solarstrike.net/phpBB3/
Code: Select all
12:13am - ...User/Desktop/micromacro/scripts/rom/classes/item.lua:141: attempt t
o concatenate global 'tmp' (a nil value)
Code: Select all
if tmp == nil then tmp = "Im broken" end
Code: Select all
function lisa_printinventory()
local bags = {}
inventory:update()
for slot = 61, 240 do
item = inventory.BagSlot[slot]
if item.Available and item.Name ~= "<EMPTY>" then
table.insert(bags, {Name = item.Name, Id = item.Id, Rlevel = item.RequiredLvl, stats = item.Stats})
end;
end;
table.print(bags)
end