dark subforum ideas thread: xxx edition

Thread Rating:
  • 7 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dark subforum ideas thread: xxx edition
RE: dark subforum ideas thread: xxx edition
pre-mr@of code:

Code:
from random import randint

def getColors():
    outColor = ""
    for x in range(0, 6):
        num = randint(8,14)
        if num <= 9:
            outColor += str(num)
        elif num == 10:
            outColor += "A"
        elif num == 11:
            outColor += "B"
        elif num == 12:
            outColor += "C"
        elif num == 13:
            outColor += "D"
        elif num == 14:
            outColor += "E"
    return outColor

inString = "yeah, i think that was already kind of an unspoken rule that covers the entire forums but i'm not at all against formally declaring this a rule"
outString = ""
for c in inString:
    if c == "a" or c == "A":
        outString += "[color=#" + getColors() + "]" + "@" + "[/color]"
    else:
        outString += "[color=#" + getColors() + "]" + c + "[/color]"
print outString
Quote


Messages In This Thread
RE: dark subforum ideas thread: xxx edition - by Loather - 04-28-2016, 12:02 AM