Getting the following error Lua syntax error:[string "library = library or {}..."]6: unfinished string near '")'
Here is the fuction. It's the Echolink line. Any hlp would be appreciated.
function library.bookSearch(criteria)
for t,n in ipairs(library.list) do
if string.findPattern(library.list[t].title, criteria) then
cecho("\nCriteria matched. Book Number is ")
echoLink(library.list[t].number, [[send("read " .. ]] .. library.list[t].number .. [[, false)]], "Read "..library.list[t].title.")
end
end
end
Need help with the function error
Re: Need help with the function error
Where's line 6 in this?
Re: Need help with the function error
The echoLink line has an odd number of quote marks.
Re: Need help with the function error
You had a misplaced period. Here: