PDA

View Full Version : Spam Forum Rules



HUnewearl_Meira
Jun 23, 2004, 04:07 PM
#include <stdio.h>
#include <PSOWForumRules.h>
#include <PSOWUserClass.h>
#include <PSOWFKL.h>

void main (void)
{
// Initialize the PSWuser Class variable
PSWuser FKLer;

int ThreadCount = 0

for (0, FKLLmt, ThreadCount++)
{
select PSOWFKL[ThreadCount].read
{
case hentai // hentai as defined as a constant in PSOWForumRules.h
cout << "Ignorance is no excuse. --Prof_Frink";
FKLer = PSOWFKL[ThreadCount].posterID;
FKLer.warning++
if (FKLer.warning > PSOWWarnLmt)
{
FKLer.ban;
};
break;

case breasts // another PSOWForumRules.h constant
{
cout << "Ignorance is no excuse. --Prof_Frink";
FKLer = PSOWFKL[ThreadCount].posterID;
FKLer.warning++
if (FKLer.warning > PSOWWarnLmt)
{
FKLer.ban;
};
break;

case AnythingAgainstRules
{
cout << "Ignorance is no excuse. --Prof_Frink";
FKLer = PSOWFKL[ThreadCount].posterID;
FKLer.warning++
if (FKLer.warning > PSOWWarnLmt)
{
FKLer.ban;
};
break;

case else

cout << RandomStupidComment (ThreadCount);
break;
};

If (PSOWFKL[ThreadCount].flamecount > 0)
{
FKLer = PSOWFKL[ThreadCount].posterID;
FKLer.warning++;
if (FKLer.warning > PSOWWarnLmt)
{
FKLer.ban;
};
};

If PSOWFKL.subject = "Moved: " + Anything
{
RemovePostCount ();
};

PSOWFKL.NewTopic = RemovePostCount ();
};

cout << "nn << ";

return;
}

<font size=-1>[ This Message was edited by: HUnewearl_Meira on 2004-06-23 14:14 ]</font>