This is a Report Snippet that I have made from scratch, Its my first time of posting a snippet so go easy on me ^^. I am pretty noob at mIRC aswell so...yeah.
Its made to work with a bot called TheChill, feel free to change this, the only other editing that needs to be done is change # to #yourchanhere (yourchanhere = the channel you use it on)
The commands for it are;
!report
!acceptr (for ops only)
!trashr (for ops only)
;| REPORT FEATURE |
; !report = Send a message to all the ops on the channel
; !acceptr (needs to be done in the query chat) = Send a message to all ops saying that the person who done !acceptr has accepted the report
; it also sends a message to the reporter saying that an op has accepted their report and is going to contact them.
; !trashr (also needs to be done in the query chat) = Sends a message to all ops saying that the person who done !trashr has trashed the report
; it also sends a message to the reporter saying that its deemed as a false report.
; If you find any bugs please let me know and I will try and fix them.
; if you wish to change the code please do so, but inform me that you have changed it.
on *:TEXT:!report*:#: {
if ($me == thechill && $2- == $null) {
notice $nick Please use the correct syntax, as in: !report <nick> <reason>
halt
}
if ($me == thechill && $2 != $null && $3 == $null) {
notice $nick Please use the correct syntax, as in: !report <nick> <reason>
halt
}
if ($me == thechill && $2- != $null && $3- != $null) {
set %reporter $nick
set %reportee $2
set %reportr $3-
notice $nick The Admins have been contacted for the report on:4 $2 5 for:4 $3-
omsg $chan 12 $nick 1has reported4 $2 1on channel:4 $chan 1for:4 $3-
omsg $chan type !acceptr to accept the report or !trashr to trash it
}
}
on *:TEXT:!acceptr:?: {
if ($me == thechill) {
notice %reporter Admin $nick has accepted your report and should contact you soon.
omsg #<channel> 4 Admin $nick has accepted the report of: %reportee for: %reportr
unset %reporter
unset %reportee
unset %reportr }
}
on *:TEXT:!trashr:?: {
if ($me == thechill) {
notice %reporter Admin $nick has decided that your report is false, no further actions will be taken.
omsg #<channel> 4Admin $nick has trashed the report of: %reportee for: %reportr
unset %reporter
unset %reportee
unset %reportr }
}