I'm a PHP guy so I don't know how to solve this problem. I know how I'd do this in PHP but I have no clue what the constraints are for Lua regarding this problem.
T = {
clocktable = {},
beancabinet = {},
--...etc
}
T.clocktable[674] = 1
T.clocktable[660] = 1
--...etc
Q: How would I loop through "T" to quickly know that the clocktable key includes the extended keys "674" and "660", only knowing "clocktable"?
Note: please be careful of overhead as the "T" table will be very loaded with data and this is in a performance environment.