like a custom command that have a delay time to use again?
and i need help about function names with dots like function menu.lel()
myTable = {}
myTable[id] = 10
myMenu = { lel = your function that calls the menu or does whatever } -- and then you call it with myMenu.lel()
players = {} function _join(id) 	players[id] = {exp = 10} end function _addExp(id, exp) 	players[id].exp = players[id].exp + exp end
menu = { } menu[1] = "im menu index 1" menu = { [2] = "im menu index 2" }
shop = {}
shop = { ["pjd"] = "Photo of Johnny Depp", ["mso"] = "Microsoft Office", ["sr"] = "Sweetroll" }
shop = { ["pjd"] = { 			["Name"] = "Photo of Johnny Depp", 			["Price"] = 100 		} , ["mso"] = { 			["Name"] = "Microsoft Office", 			["Price"] = 1000000000 		} , ["sr"]	= { 			["Name"] = "Sweetroll", 			["Price"] = 99999 		} }
function findsrprice(table) 	print("Price of Sweetroll: "..table["sr"]["Price"]) end findsrprice(shop)
Price of Sweetroll: 99999
number = {} function giveafkingnumbertoplayers() 	for i = 1, #player(0, "table") do 		number[i] = math.random(1, 1000000) 	end end
function initarray(limit) 	local x = {} 	for i = 1, limit do 		x[i] = 0 	end return x end nonsense = initarray(3) nonsense[2] = "FOR SKYRIIIIIIIIIIIIIIIM" print(nonsense[2])
initArray
_player = {}
_player = { [1] = {}, [2] = {}, [3] = {}, }
_player = {} -- Define the player table function _spawn(id) _player[id] = {} -- Define the table within the player table using the player ID end addhook("spawn", "_spawn")