06-04-14, 06:00 AM | #1 |
Help getting started with LuA
Don't freak out I've been programming for 13 years some I can pick this up quickly, the only thing I need to know is how to read tables etc
print(Inspect.Currency.List().name[0]) is evidently not it and can't really find much documentation on this topic lol. All help is greatly appreciated. Long story short, just need to dump the array/object/table into console Thanks! |
|
06-04-14, 06:18 AM | #2 |
Code:
function ScanCurrencies() for k,v in pairs(Inspect.Currency.Detail(Inspect.Currency.List())) do local category = Inspect.Currency.Category.Detail(v.category).name print(v.name .. ": " .. v.stack) end end |
|
Riftui » AddOns, Layouts and Macros » Help/Support » Help getting started with LuA |
«
Previous Thread
|
Next Thread
»
|
Display Modes |
Linear Mode |
Switch to Hybrid Mode |
Switch to Threaded Mode |
|
|