Hello, I apologize that I am brand new to decker and lil! My goal has been to create a small AIM-style text chain for a bite-sized narrative thingy in Decker, and I figured using a table would be the best way to store all the usernames, however, trying to return to the card or another script asks me to discard the code with this error message (IGNORE THE PERIOD AT THE END OF THE chat.message DECLARATION as this was a decoy list for demonstration purposes)


I am unsure what name parameter is needed, whether it is by the on view do function, whether me calling for the creation of a table is not necessary, or not defining what 'chat' is. I also am unsure what a name parameter is and how it's different from a string value. I also am unsure if I need to put this table in a different script. It is currently in the home card script, but I don't know if it would instead go into the contraption instances?
Goals for the text message game: display corresponding messages with usernames via stylized fields, have them drip feed out over different intervals of time depending on which message is next, have a small field players can type in and send something, which functionally causes an ending screen if done.
in general, I find the way the lil and decker documentation is written makes it hard to immediately intuit where I can use something written in the lil documentation in decker, such as a list, dictionary, or table. I think the fact I know what I want to do in terms of knowing how programming languages work but not getting used to the syntax nor the scripting interface of decker is just me making it harder on myself. I chalk it up to my brain and not a critique on the way these tutorials are written though.
Perhaps pre-existing guides on making IM or text message contraptions would also be helpful.