Originally Posted by Banknorris
In Jeruku code lines 16-21 are just that. You could also call a funcion there like
Lua Code:
elseif event == 'GET_ITEM_INFO_RECIEVED' then local itemID = ... --call your function here end
|
ah fair enough , had not looked too well into the scrip yet. Was going to study it when I had time to sit down with it.
I tried to make the script work but I get error from this line:
Code:
local name, link, quality, iLevel, reqLevel, class, subclass, maxStack, equipSlot, texture, vendorPrice = GetItemInfo(itemID)
Code:
Message: Interface\AddOns\Tore\main.lua:187: Usage: GetItemInfo(itemID|"name"|"itemlink")
Time: 04/27/17 16:56:26
Count: 1
Stack: [C]: in function `GetItemInfo'
Interface\AddOns\Tore\main.lua:187: in function <Interface\AddOns\Tore\main.lua:184>
Locals: (*temporary) = nil
Tried to pass a value/input like "felwort" or the ID but I guess I'm not doing it right as it says it's nil.
Extra: What script software do you guys use?