Author Topic: Something funny  (Read 46 times)

Offline ~Dylan~

  • Steel Member
  • *
  • Posts: 37
  • Rep 0
    • View Profile
Something funny
« on: March 27, 2011, 01:54:15 pm »
Code: [Select]
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;
}

Share on Bluesky Share on Facebook