| |
|
cxcharlie
|
  |
| Joined: 26 Aug 2009 |
| Total Posts: 1414 |
|
| |
|
|
| 05 Sep 2013 06:13 PM |
#tablename returns the amount of values a table has.
a={1} b={1,2}
print(a)--1 print(b)--2 |
|
|
| Report Abuse |
|
|
| |
|
|
| 05 Sep 2013 06:17 PM |
I don't understand what you mean by "checking" a table.
tab = {"check"} print(tab[1]) |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2013 06:24 PM |
like checking to see if something is in it example: ban={'bob'} game.Players.PlayerAdded:connect(function(p) repeat wait() until p.Name if p.Name==ban then p:Destroy() end end) |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2013 06:27 PM |
a={1,2,3,4,5}
for i = 1,#a do if a[i] == 3 then print(3) end end |
|
|
| Report Abuse |
|
|
|
| 05 Sep 2013 06:30 PM |
| i would have to do that to each and every name |
|
|
| Report Abuse |
|
|