Help a noob with tables

Aquifn
Posts: 19
Joined: Fri Mar 15, 2013 8:37 pm

Re: Help a noob with tables

Post by Aquifn »

That isn't really the purpose of that, but I tried it just to see if the error would go away. It didn't, same issue. I don't think I understand the proper place to put table.load or something.

Aquifn
Posts: 19
Joined: Fri Mar 15, 2013 8:37 pm

Re: Help a noob with tables

Post by Aquifn »

Any ideas or suggestions?

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Help a noob with tables

Post by Heiko »


User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Help a noob with tables

Post by Vadi »

Code: [show] | [select all] lua
if band == "none" then
makes no sense - it's a table, not a piece of text.

Your error also comes because somewhere you're trying to use .. with band somewhere, and band isn't a piece of text, but a table. I think you're mixing and confusing things here.

Aquifn
Posts: 19
Joined: Fri Mar 15, 2013 8:37 pm

Re: Help a noob with tables

Post by Aquifn »

I got it figured out. I just wasn't understanding how to set variables separately in the same table. I kinda stumbled across it on accident, and now it works great. Thanks for the help guys

Post Reply