Or maybe there's an interceptor for outputting strings to the console?
errormsg = _ERRORMESSAGE
function _ERRORMESSAGE(string)
if string ~= "Hitler kaput" then
errormsg(string)
end
endThis is if the output string is the same; otherwise, you need to equate_ERRORMESSAGE = parse('')
for a while.
function DoNotShowErrorMessage()
local err = _ERRORMESSAGE
_ERRORMESSAGE = parse('') -- or _ERRORMESSAGE = function()end
sleep(1)
_ERRORMESSAGE = err
end