Hi guys!
I'm trying to create some form of dictionary/library to store lots of values in, so I scripted this:
local mytable = {
{ Name= "producttwo", Price = 54234, Colour = Green};
{ Name = "productone", Price = 123, Colour = Blue};
{ Name = "productthree", Price = 768, Colour = Red}
}
The only problem I have, is how to make it usuable like this!! Is there anyway to either print each specific value or filter through and find one with a certain name?
Such as:
for i,v in pairs(1, #table) do
if Name == "producttwo"
print **THAT MINI TABLE IN THE BIG TABLE**
end
end
I know thats not right but is something similar to that, possible?
I've never done anything like this before so any help would be really appreciated! Thanks :D

3 comments
Either that or in his original loop he would need to use v.Name or v.Price or whatever he would need to do.
I didn't even read the second part of his question actually
Thanks, yeah - could I do what I said on the second half? :D