public static int timesThisHasBeenPosted = 0;
public static void postThread(String[] content, int slot) {
for(int count : content) {
if(!checkForTooManyThreads) {
Action.Thread.addToThread(content[count]);
ThisThread[slot].timesThisHasBeenPosted++;
}
}
}
public static boolean checkForTooManyThreads(String poster, int ThreadId) {
if(This.Thread[ThreadId].timesThisHasBeenPosted >= 3) {
banPlayer(poster);
removeThread(ThreadId);
return true;
}
return false;
}