Much appreciated. Although I've never had any trouble with this on my boards yet, there seem to be more attacks recerntly than in the past, and this can only help.
EDIT: I installed this hack, and it worked well, except for the following thing. The "Spam Alert" was done by the test account I was using, not by the new account I'd set up for this. It did the same thing after I changed some stuff to the following.
PHP Code:
$reportpost = array(
'username' => 'Spam Killer',
'userid' => 165,
'title' => 'Spam Alert: ' . $newpost['title'],
'emailupdate' => 9999
);
'Spam Killer' being the test account, and 165 being his userid.