-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtornbot.html
197 lines (197 loc) · 3.46 KB
/
tornbot.html
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
---
layout: default_fullpage
title: Torn Bot
---
<style type="text/css">
.hayden-readme {
font-family: Courier New;
}
.hayden-readme td, .hayden-readme th {
vertical-align: middle;
padding: 5px;
border-bottom: 1px solid #ddd;
}
.hayden-readme th {
font-weight: bold;
}
</style>
<table class="hayden-readme">
<tr>
<th colspan="2">
Revive Channel Specific Commands
</th>
</tr>
<tr>
<td>
!revcount
</td>
<td>
Post a message saying how many revives that nic has done
</td>
</tr>
<tr>
<td>
!totalrevive
</td>
<td>
Post a message saying how many revives each nic has done
</td>
</tr>
<tr>
<td>
you revived
</td>
<td>
Counts that you revived someone
</td>
</tr>
<tr>
<th colspan="2">
Chain Channel Specific Commands
</th>
</tr>
<tr>
<td>
!read [ID]<br/>
!spy [Name]
</td>
<td>
Gets the spy for that name or ID and posts it to the Channel
</td>
</tr>
<tr>
<td>
!chain api off
</td>
<td>
Turns off the chain api meaning it wont post about the chain.<br/>
(Need to be bot admin)
</td>
</tr>
<tr>
<td>
!chain api on
</td>
<td>
Turns on the chain api meaning it will post about a chain.<br/>
(Need to be bot admin)
</td>
</tr>
<tr>
<td>
!retal api on
</td>
<td>
Turns on the API retal part where it shows Hosp/losses/run away to the faction members.<br/>
(Need to be bot admin)
</td>
</tr>
<tr>
<td>
!retal api off
</td>
<td>
Turns off the API retal part won't show hosp/leaves/run away anymore.<br/>
(Need to be bot admin)
</td>
</tr>
<tr>
<td>
!loadfactionid [faction ID]
</td>
<td>
Loads in the name and id for that faction with the id.<br/>
(Need to be bot admin)
</td>
</tr>
<tr>
<th colspan="2">
General Commands
</th>
</tr>
<tr>
<td>
!attack [id/name]
</td>
<td>
Gives a url to attack the person if the bot has its ID
</td>
</tr>
<tr>
<td>
!revives on
</td>
<td>
Turns on the script that will allow revives to be sent to the revive channel and counts them.<br/>
(Need to be bot admin)
</td>
</tr>
<tr>
<td>
!revive off
</td>
<td>
Turns off the scirpt that posts a link to revive ppl also prints out all the people who revived for that war and there count.<br/>
(Need to be bot admin)
</td>
</tr>
<tr>
<td>
!mainnic
</td>
<td>
If bot nic isn't the main one turns it back to that
</td>
</tr>
<tr>
<td>
!addid [id]<br/>
!addid [name + id]
</td>
<td>
Adds the nic's ID to the database
</td>
</tr>
<tr>
<td>
!revive
</td>
<td>
Posts a link to the user in the revive channel to be revived
</td>
</tr>
<tr>
<td>
!leavechannel [Channel]
</td>
<td>
Bot will leave that said channel.<br/>
(Need to be bot admin)
</td>
</tr>
<tr>
<td>
!id
</td>
<td>
Post a link to the nic id and url to torn
</td>
</tr>
<tr>
<td>
!info [id/nic]
</td>
<td>
Posts information about the nic/ID that was asked for
</td>
</tr>
<tr>
<td>
!delid
</td>
<td>
Removes the ID that is linked to that nic.<br/>
(Need to be bot admin)
</td>
</tr>
</table>