As some of you know, I'm learning how to script. And i'm still a newbie, I'm trying to figure out how to use a table like this:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
EXAMPLE = {
	{43, 23, 24} -- TileX, TileY, Item ID
	{13, 43, 45} -- TileX, TileY, Item ID
[...]
}
	--Question here--
addhook("use","enddead_use") -- "Use" is for buttons
function enddead_use(id)
--(Get table)
(for [1] in table set X)
(for [2] in table set Y)
(for [3] in table get Item ID)
(if [1] and [2] is true then)
equip(id, [3])
-- Do the same for other tables (And for new tables)
Thanks in advance~
"Table" example
1 
Offline
Infinite Rain
)