• Finding the table's key with * wildcard (or extract the table's key)
    0 replies, posted
If you couldn't understand what I tried to say on the table. My method of doing my global library is based upon a variable, however I want to scrap that and simply use the table's key. Unless there was a way to extract the key from a table then it could be easy to continue on what I was doing. If there's no possibility to do so, then I can just simply add the maps by one then do a duplicatevalue function for the tables. [lua] What I did on the tables: MapLib["zs_mall*"] = { FindAs = "zs_mall*", Name = "Mall", Description = "An abandoned mall." } What I want to do: MapLib["zs_mall*"] = { Name = "Mall", Description = "An abandoned mall." } [/lua]
Sorry, you need to Log In to post a reply to this thread.