I can write you a script that works the same but is safe?
If you didnt want it here it is anyways:
on $*:TEXT:/^[!.]report/Si:#:{
;;antiflood1 (Spam)
if (%flood [ $+ [ $nick ] ]) { halt }
set -u3 %flood [ $+ [ $nick ] ] $true
;;antiflood2 (Overusage)
if (%flood1 [ $+ [ $nick ] ]) { notice $nick Please wait: $duration($var($+(%,flood1,$nick),1).secs) before using this command again! | halt }
;;Checks, to keep your ini files clean.
if (!$2-) { notice $nick Please use the correct syntax: !report <reportmsg> | halt }
if (!$7) { notice $nick Please use atleast 6 words for your report! | halt }
if ($51 != $null) { notice $nick You cant use more then 50 words for your report! | halt }
else { /report $nick $2- | notice $nick Your report: $2- has been saved! A moderator will check it as soon as possible! | set -u900 %flood1 [ $+ [ $nick ] ] $true | halt }
}
;;To check your last report!
on $*:TEXT:/^[!.](myreport$)/Si:#:{
;;antiflood1 (Spam)
if (%flood [ $+ [ $nick ] ]) { halt }
set -u3 %flood [ $+ [ $nick ] ] $true
if (!$readini(report.ini,n,Reports,$+($nick,%rnick))) { notice $nick You havent report anything! | halt }
else { notice $nick Your last report was: $readini(report.ini,n,Reports,$+($nick,%rnick)) $+ . Saved on: $readini(report.ini,n,Dates,$+($nick,%rnick)) | halt }
}
;;alias that creates the reports! It has a lot of vars but they get unset every few minutes!
alias report {
if (!$1) || (!$2-) { halt }
inc %rnick [ $+ [ $1 ] ] 1
set %report [ $+ [ $+($1,%rnick) ] ]
/echo Reporting $1 with reportmessage: $2-
.timer 1 2 writeini -n report.ini Reports $+($1,%rnick) $2-
.timer 1 2 writeini -n report.ini Dates $+($1,%rnick) $fulldate
.timer 1 1 /echo Report of $1 has been saved!
}