1 require("lib/quakenet")
3 require("lib/schedule")
4 require("lib/serialise")
12 local NOTREPORTING = false
14 function scripterror(err)
15 local cerror = os.time()
16 if cerror > LASTERROR then
21 if not NOTREPORTING then
22 chanmsgn(traceback(err, 2))
24 LASTERROR = LASTERROR + 1
25 if LASTERROR > cerror + 10 then
27 chanmsg("Too many errors for this script -- no longer reporting")
32 math.randomseed(os.time())