Posted 22 July 2014 - 12:32 AM
Okay, I know there are a lot of these posts already out there. None of them have worked for me. I tried textutils.serialize(suggestions) and then printing it but it didn't print.
Spoiler
--os.pullEvent = os.pullEventRaw
--Ask for name, set as variable: pName
print("What is your in-game name?")
local pName = read()
print("How many suggestions do you have?")
local sugNum = read()
sugNum = tonumber(sugNum)
suggestions = { }
for i = 1, sugNum do
x = 1
print("What is your suggestion?")
local suggestion = read()
table.insert(suggestions, x, suggestion)
x = x + 1
end
print(suggestions)