Posted 12 June 2012 - 08:47 PM
Here's my code, error message "bios:206: [string "recipe"]:9: ')' expected:
Line 9 is on the function declaration.
function craft(rItem[1], rItem[2], rItem[3], rItem[4], rItem[5], rItem[6], rItem[7], rItem[8], rItem[9])
print(" - - -")
print("|" .. rItem[1] .. "|" .. rItem[2] .. "|" .. rItem[3] .. "|")
print(" - - -")
print("|" .. rItem[4] .. "|" .. rItem[5] .. "|" .. rItem[6] .. "|")
print(" - - -")
print("|" .. rItem[7] .. "|" .. rItem[8] .. "|" .. rItem[9] .. "|")
print(" - - -")
end
Line 9 is on the function declaration.