Miscellany
public lua v1 · immutablefunction NewMtable(Name, Description) local temp = { Name = Name, Description = Description, } return tempendTable = { Goob = 1, Boog = 1, }function Table:Add(name) self[name.Name] = nameendfunction Table:Remove(name) table.remove(self, name.Name)endGreek = NewMtable("Greek", "Only Greeks are allowed here.\r\n") //creates a metatable for greeksTable:Add(Greek) //adds a reference to Greek in the Table tableTable:Remove(Greek) //removes the reference to Greek in the Table table