Lists are key/value pairings.
{} - empty list
dlist = { day1 = 'Sunday', day2 = 'Monday' … etc … } - list of days keyed by day1, day2 etc
Prompt( dlist[ 'day1' ] ) - would give you "Sunday"
slist = { 'Sunday', 'Monday' ... etc … } - list without specified key, Lua automatically uses key vales 1, 2 etc
Prompt( slist[ 2 ] ) - would give you "Monday"
Instead of the square brackets you can use . to specify the key so:
Prompt( dlist.day2 ) - would give you "Monday" (I find this form more readable)
Been there, done that, got all the T-Shirts!