Thank you usamakey
I need a code or plugin to debug the scripts in myself code editor
I no need online lua code editor
local script = Input.GetText("script");
local f, err = loadstring(script);
if err ~= nil then
local pos = String.Find(err, "...\"]:", 1, false);
local extra = String.Mid(err, 1, pos+5);
local err = String.Replace(err, extra, "line ", false);
Dialog.Message("Syntax Error", tostring(err), MB_OK, MB_ICONSTOP);
end