adding the code -> write -il1 botreport_log.txt $nick on $chan : reason : $2-
one line before the timer will cause the script to log all reported errors to a
text file located in the bots $mircdir. Also the 'else' statement was not working
for me so I just replaced the code with the following and had no issues.
Changed:
else { msg $chan Sorry $nick but to send 3report message 1u must give some reason/s ! }
}
to
on :TEXT::#: {
if (!botreport iswm $1-) {
msg $chan Sorry $nick but to send an error report you must give some reason(s)!
}
}