No comprendo por qué obtengo el error que menciono en el titulo (unfinished string near ´").
He estado buscando pero no encuentro alguna información que me pueda ayudar si alguno fuera amable y revisara el code para ver que puede ser.
quest test begin
state start begin
when letter with pc.is_gm() begin
send_letter (" GM: test")
end
when button or info begin
local query = [[
SELECT player.player.name as m_name, player.player.level as m_level, player.player.exp as m_exp
FROM player.player, account.account
WHERE
player.player.name not like '[%]%' AND
date_sub(now(), interval 1 day) < player.player.last_play AND
player.player.account_id=account.account.id AND
account.account.status='OK'
ORDER BY player.player.level DESC, player.player.exp DESC, player.player.name ASC
LIMIT 10;
]]
local res1, res2 = mysql_direct_query(query)
say_title("Top "..res1.." players")
for num1, str1 in ipairs(res2) do
say_reward(num1.."\t"..str1.m_name.."\t"..str1.m_level.."\t"..str1.m_exp)
end
end
end