-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsteiner-france.py
167 lines (159 loc) · 3.23 KB
/
steiner-france.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
#########################################################################################
# Name steiner:france
# Description Typical French phrases for (He)XChat.
# Version 1.1 (2015-01-11)
# Contact [email protected]
# Website https://github.com/ScottSteiner/xchat-scripts
# Copyright 2013-15, ScottSteiner <[email protected]>
# License GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html
#########################################################################################
import xchat, random
__module_name__ = 'steiner:france'
__module_version__ = '1.1'
__module_description__ = 'Typical French phrases for (He)XChat'
def france(text, text_eol, userdata):
if len(text) > 1: target = '{}: '.format(text_eol[1].strip())
else: target = ''
xchat.command("say You son of a hag! I didn't serve as {} for {}-odd years in {}, defending our precious American {} and {}, just tew read such smart-mouthed assertions from the likes of a psycho like you! I'VE GOT {} {} HEARTS, MONSIEUR!!".format(random.choice(jobs), random.randint(3,20), random.choice(countries), random.choice(holidays), random.choice(badshit), random.randint(3,9), random.choice(colors).upper()))
return xchat.EAT_ALL
xchat.hook_command('france', france)
print('\x0309{} {} has been loaded: {}\003'.format(__module_name__, __module_version__, __module_description__))
jobs = [
"military attach",
"cultural attach",
"Keeper of the Seals",
"Prime Minister",
"National Statistician",
"treasurer",
"Last King of Scotland",
"King of Arms",
"governor",
"mayor",
"city manager"
]
colors = [
"blue",
"red",
"yellow",
"purple",
"orange",
"green",
"beige",
"brown",
"black",
"white",
"apricot",
"amber",
"auburn",
"burgundy",
"celadon",
"cerulean",
"cinnabar",
"cobalt",
"copper",
"crimson",
"cyan",
"emerald",
"fuchsia",
"grey",
"indigo",
"ivory",
"jade",
"lavender",
"lemon",
"lilac",
"magenta",
"maroon",
"mauve",
"mustard",
"olive",
"peach",
"ping",
"pumpkin",
"rose",
"ruby",
"rust",
"saffron",
"sapphire",
"tan",
"tangerine",
"vermilion",
"violet",
"wisteria"
]
holidays = [
"the Fourth of July",
"President's Day",
"Memorial Day",
"Labor Day",
"Columbus Day",
"Veteran's Day",
"Thanksgiving",
"Christmas",
"Valentine's Day",
"St Patrick's Day",
"Halloween",
"September the Eleventh",
"9/11"
]
badshit = [
"slavery",
"segregation",
"lynching",
"internment camps",
"Trail of Tears",
"genocide",
"GRIDS",
"KKK",
"Neo Nazis",
"white slavery",
"child prostitution",
"nuclear holocaust",
"unprovoked wars",
"illegal wars",
"assassination of civil rights leaders",
"interspecies rape",
"interracial rape",
"drone attacks"
]
countries = [
"Afghanistan",
"Algeria",
"Bangladesh",
"Bahrain",
"Chechnya",
"Congo",
"Djibouti",
"Egypt",
"Iran",
"Iraq",
"Jordan",
"Lebanon",
"Libya",
"Mali",
"Morocco",
"Niger",
"Oman",
"Pakistan",
"Palestine",
"Qatar",
"Saudi Arabia",
"Senegal",
"Somalia",
"Sudan",
"Syria",
"Tunisia",
"Turkey",
"Uzbekistan",
"Yemen",
"Bosnia",
"Cuba",
"Grenada",
"Haiti",
"Nicaragua",
"North Korea",
"Panama",
"Rwanda",
"Vietnam",
"Yugoslavia"
]