26 lines
546 B
Python
Executable file
26 lines
546 B
Python
Executable file
#!/usr/bin/env python3
|
|
|
|
import random
|
|
import sys
|
|
|
|
input = ""
|
|
|
|
for t in sys.argv[1:]:
|
|
input += str(t + " ")
|
|
|
|
output = ""
|
|
prefix = ["8b", "archer", "hacker", "jhg", "lazer", "sans_l", "sans_u", "smb", "sm64", "tp", "wide" ]
|
|
|
|
for letter in input:
|
|
rando = random.choice(prefix)
|
|
if letter == " ":
|
|
output += u" :blank: \u200b"
|
|
elif not letter.isalpha():
|
|
output += letter+"\u200b"
|
|
elif rando == "lazer":
|
|
output += ":"+rando+"_"+letter.upper()+u":\u200b"
|
|
else:
|
|
output += ":"+rando+"_"+letter.lower()+u":\u200b"
|
|
|
|
print(output)
|