-- Function to check if a string is in the table function table.contains(table, element) for _, value in ipairs(table) do if value == element then return true end end return false end