fix possible crash on user deletion
[srvx.git] / src / mod-helpserv.help
1 "<index>" ("Help Queue Manager commands",
2         "The following topics are available:",
3         "  HELP         How to use this service",
4         "  QUEUE        Managing the request queue",
5         "  USERS        Managing $S helpers",
6         "  OPER         IRC operator administration commands");
7 "QUEUE" ("Managing the request queue in $S",
8         "  LIST        List open requests",
9         "  NEXT        Pick up the next unassigned request",
10         "  PICKUP      Pick up a particular unassigned request",
11         "  REASSIGN    Assign a request to another helper",
12         "  CLOSE       Close out a request",
13         "  SHOW        Show detailed information on a request",
14         "  ADDNOTE     Add a note to a request",
15         "  PAGE        Try to wake up other helpers",
16         "  STATS       Get statistics on time and requests handled",
17         "  STATSREPORT Shows statistics for all users");
18 "USERS" ("Managing helpers in $S",
19         "  USER ACCESS Description of the user access levels",
20         "  HELPERS     List current helpers and their access levels",
21         "  GIVEOWNERSHIP Transfer ownership to another user",
22         "  ADDMANAGER  Add a new manager to the service",
23         "  ADDHELPER   Add a helper to the service",
24         "  ADDTRIAL    Add a trial helper to the service",
25         "  DELUSER     Remove a person from the service",
26         "  CLVL        Change a user's access",
27         "  SET         Change $S settings");
28 "USER ACCESS" ("User access levels",
29         "There are four levels of user access to $S: $btrial$b helper, $bhelper$b, $bmanager$b, and $bowner$b.",
30         "Helpers can use the normal help queue management functions.",
31         "Trial helpers have the same access as helpers, but they do not stop the \"empty alert\" from occuring",
32         "Managers also have the ability to use the $ureassign$u command, add and remove helpers, and see stats for any helper.",
33         "Owners have those abilities, can add and remove managers, and change queue settings.");
34 "OPER" ("IRC operator administration commands",
35         "  REGISTER    Register a new HelpServ bot",
36         "  ADDOWNER    Add an owner to an existing HelpServ",
37         "  DELOWNER    Remove an owner from an existing HelpServ",
38         "  MOVE        Change the channel or nick the service helps on",
39         "  UNREGISTER  Unregister a HelpServ bot",
40         "  BOTS        List registered HelpServ instances",
41         "  EXPIRE      Expire inactive channels",
42         "  MODSTATS    Modify the stats of a user",
43         "  READHELP    Re-read help file");
44 "COMMANDS" "${index}";
45
46 "ADDTRIAL" ("$bADDTRIAL$b",
47         "/msg $S ADDTRIAL <nick|*account>",
48         "Add the specified user to the bot as a trial helper.",
49         "$uSee also:$u helpers, addhelper, addmanager, clvl, deluser");
50 "ADDHELPER" ("$bADDHELPER$b",
51         "/msg $S ADDHELPER <nick|*account>",
52         "Add the specified user to the bot as a helper.",
53         "$uSee also:$u helpers, addtrial, addmanager, clvl, deluser");
54 "ADDMANAGER" ("$bADDMANAGER$b",
55         "/msg $S ADDMANAGER <nick|*account>",
56         "Add the specified user to the bot as a manager.",
57         "$uSee also:$u helpers, addtrial, addhelper, clvl, deluser");
58 "ADDOWNER" ("$bADDOWNER$b",
59         "/msg $O HELPSERV ADDOWNER <bot-nick> <nick|*account>",
60         "Add the specified user to the bot as a owner.",
61         "$uSee also:$u clvl, delowner, helpers");
62 "ADDNOTE" ("$bADDNOTE$b",
63         "/msg $S ADDNOTE <reqid|nick|*account> <message>",
64         "Adds a helper note to a request (useful for requests that last a long period of time).",
65         "$uSee also:$u show");
66 "BOTS" ("$bBOTS$b",
67         "/msg $O HELPSERV BOTS",
68         "Lists the currently defined HelpServ bots (along with their channels and owners' accounts).",
69         "$uSee also:$u EXPIRE");
70 "EXPIRE" ("$bEXPIRE$b",
71         "/msg $O HELPSERV EXPIRE",
72         "Expires any HelpServ bots that have been inactive for too long.",
73         "$uSee also:$u BOTS");
74 "GIVEOWNERSHIP" ("$bGIVEOWNERSHIP$b",
75         "/msg $S GIVEOWNERSHIP <nick|*account> CONFIRM",
76         "Gives ownership of the bot to another user on the userlist.");
77 "CLOSE" ("$bCLOSE$b",
78         "/msg $S CLOSE <reqid|nick|*account> [reason]",
79         "Closes out the specified request. The optional [reason] is included in the request log file.");
80 "CLVL" ("$bCLVL$b",
81         "/msg $S CLVL <nick|*account> <new-level>",
82         "Allows an owner or manager to change a user's access with $S.",
83         "$uSee also:$u addtrial, addhelper, addmanager, deluser, helpers");
84 "DELOWNER" ("$bDELOWNER$b",
85         "/msg $O HELPSERV DELOWNER <bot-nick> <nick|*account>",
86         "Delete an owner from the channel user list.  (Secretly, this is just an alias for deluser.)",
87         "$uSee also:$u clvl, deluser, helpers");
88 "DELUSER" ("$bDELUSER$b",
89         "/msg $S DELUSER <nick|*account>",
90         "Delete a user from the channel user list.",
91         "$uSee also:$u addhelper, addmanager, clvl, helpers");
92 "HELP" ("$bHELP$b",
93         "/msg $S HELP [command|topic]",
94         "HELP will show you usage or other information for the command you give.",
95         "All help entries will use the same syntax for usage, with optional parameters listed in [] and meta-parameters listed in <> (a meta-parameter is one that you must provide a value for).",
96         "If you do not give a command or topic for HELP, an index is shown.");
97 "HELPERS" ("$bHELPERS$b",
98         "/msg $S HELPERS",
99         "Displays the trials, helpers, managers and owner(s) registered with $S.",
100         "$uSee also:$u addtrial, addhelper, addmanager, deluser, tlist, hlist, mlist, wlist");
101 "WLIST" ("$bWLIST$b",
102         "/msg $S WLIST",
103         "Displays the owner(s) registered with $S.",
104         "$uSee also:$u helpers");
105 "MLIST" ("$bMLIST$b",
106         "/msg $S MLIST",
107         "Displays the managers registered with $S.",
108         "$uSee also:$u helpers");
109 "HLIST" ("$bHLIST$b",
110         "/msg $S HLIST",
111         "Displays the helpers registered with $S.",
112         "$uSee also:$u helpers");
113 "TLIST" ("$bTLIST$b",
114         "/msg $S TLIST",
115         "Displays the trials registered with $S.",
116         "$uSee also:$u helpers");
117 "LIST" ("$bLIST$b",
118         "/msg $S LIST [unassigned|assigned|me|all]",
119         "Lists open help requests of the specified type (if not specified, defaults to \"unassigned\").",
120         "\"assigned\" means that a helper has picked up the request or been assigned to handle it.",
121         "\"me\" means to only show requests assigned to you.",
122         "$uSee also:$u next, pickup");
123 "MODSTATS" ("$bMODSTATS$b",
124         "/msg $S MODSTATS <user|*nick> <field> <week> <mod>",
125         "Allows an oper to modify a user's $S stats.",
126         "<field> can be one of $btime$b, $bpicked_up$b, $bclosed$b, $breassigned_from$b, $breassigned_to$b",
127         "<week> can be a number from $b0$b to $b4$b with 0 being the current week and 4 being the total.",
128         "Instead of 0 and 4, $bcurrent$b and $btotal$b may also be used.",
129         "<mod> can be any positive/negative number.",
130         "Note that the total is not automatically changed if you update another week.");
131 "MOVE" ("$bMOVE$b",
132         "/msg $O HELPSERV MOVE <bot-nick> <new-nick|#new-channel>",
133         "Makes the HelpServ bot use a different nick or channel.");
134 "NEXT" ("$bNEXT$b",
135         "/msg $S NEXT",
136         "Assigns the next unhandled help request to you.",
137         "$uSee also:$u list, pickup, reassign, close");
138 "PAGE" ("$bPAGE$b",
139         "/msg $S PAGE <reason for page>",
140         "Pages the current page target, requesting attention.",
141         "$uSee also:$u set");
142 "PICKUP" ("$bPICKUP$b",
143         "/msg $S PICKUP <reqid|nick|*account>",
144         "Assigns the request with $breqid$b to you.",
145         "$uSee also:$u list, next, reassign, close");
146 "READHELP" ("$bREADHELP$b",
147         "/msg $O HELPSERV READHELP",
148         "Re-reads the HelpServ help file.");
149 "REASSIGN" ("$bREASSIGN$b",
150         "/msg $S REASSIGN <reqid|nick|*account> <new-helper-nick>",
151         "Reassigns (or assigns) the specified request to $bnew_helper_nick$b.",
152         "$uSee also:$u next, pickup, close");
153 "REGISTER" ("$bREGISTER$b",
154         "/msg $O HELPSERV REGISTER <bot-nick> <#channel> <owner-nick|*account>",
155         "Registers a new HelpServ bot to the specified channel, and adds the given user as owner.",
156         "$uSee also:$u unregister, helpers");
157 "SET" ("$bSET$b",
158         "/msg $S SET [<option> [new-value]]",
159         "Change service options.  If no option is specified, show all options.  If no value is specified, show current value of option.",
160         "PageTarget       Send command pages to this channel",
161         "PageType         Delivery type for command pages (sent by the PAGE command)",
162         "AlertPageTarget  Send alert pages to this channel",
163         "AlertPageType    Delivery type for alert pages (to gain helpers' attention)",
164         "StatusPageTarget Send status pages to this channel",
165         "StatusPageType   Delivery type for status pages (less urgent information, such as requests being opened/assigned/closed)",
166         "Greeting         Message sent to users joining channel",
167         "ReqOpened        Message sent to user opening a new request",
168         "ReqAssigned      Message sent to user when their request is assigned to a helper",
169         "ReqClosed        Message sent to user when their request is closed",
170         "IdleDelay        Time user may idle in channel before bot complains to StatusPageTarget",
171         "WhineInterval    Time between complaints about unhandled requests and idle users",
172         "WhineDelay       Time before an unhandled request makes bot complain to AlertPageTarget",
173         "EmptyInterval    Time between complaints (to AlertPageTarget) that the help channel is unstaffed",
174         "StaleDelay       Time after which updating an old request causes it to send an activity alert",
175         "ReqPersist       Persistence for new requests",
176         "HelperPersist    Persistence for assignation of requests to helpers",
177         "Notification     Notification to helpers of events concerning their requests",
178         "IdWrap           Maximum request ID plus one (IDs wrap to 0 when they reach this)",
179         "ReqMaxLen        Maximum number of lines of text allowed in a request",
180         "PrivmsgOnly      Messages to users are sent as privmsg (overriding account preference)",
181         "ReqOnJoin        Automatically opens a request for a user who joins the channel",
182         "AutoVoice        Automatically voices users when their request is assigned to a helper",
183         "AutoDeVoice      Automatically devoices users when their request is closed or their helper is unassigned",
184         "$uSee also:$u set <option-name>");
185 "SET PAGETARGET" ("$bSET PAGETARGET$b",
186         "/msg $S SET PAGETARGET [#channel-name]",
187         "This sets the destination for pages and other alerts.  The target may be set to * to disable pages entirely.",
188         "Just like $C registration requires an oper or helper, this option can only be set by an oper.",
189         "$uSee also:$u set, set pagetype, set statuspagetype");
190 "PAGE TYPES" ("$bPAGE TYPES$b",
191         "The following types of pages may be used:",
192         "None            Disable this particular page type",
193         "Notice          Send as a notice to PageTarget",
194         "Privmsg         Send as a normal message to PageTarget",
195         "Onotice         Send as a notice to channel operators in PageTarget",
196         "$uSee also:$u set, set pagetarget, set pagetype, set statuspagetype");
197 "SET PAGETYPE" ("$bSET PAGETYPE$b",
198         "/msg $S SET PAGETYPE <page-type>",
199         "This sets the type of page for pages sent using the $bpage$b command.",
200         "$uSee also:$u set, set pagetarget, page types, page");
201 "SET STATUSPAGETYPE" ("$bSET STATUSPAGETYPE$b",
202         "/msg $S SET STATUSPAGETYPE <page-type>",
203         "This sets the type of page sent when a new request is opened.",
204         "$uSee also:$u set, set pagetarget, page types, page");
205 "SET GREETING" ("$bSET GREETING$b",
206         "/msg $S SET GREETING <greeting-text>",
207         "This sets the message sent to users when they join the channel -- for example, the URL for a FAQ or \"How to get help\" page.",
208         "You may disable this message by using * as the text.",
209         "$uSee also:$u set");
210 "SET OPENREQ" ("$bSET OPENREQ$b",
211         "/msg $S SET OPENREQ <openreq-text>",
212         "This sets a message sent to users when they open a new request with the bot.  It is sent just before more mechanical information about the request ID, current wait time, and request persistence.",
213         "You may disable this message by using * as the text.",
214         "$uSee also:$u set");
215 "SET ASSIGNREQ" ("$bSET ASSIGNREQ$b",
216         "/msg $S SET ASSIGNREQ <assignreq-text>",
217         "This sets a message sent to users when their request is assigned to a helper (or re-assigned to another helper).",
218         "You may disable this message by using * as the text.",
219         "$uSee also:$u set");
220 "SET CLOSEREQ" ("$bSET CLOSEREQ$b",
221         "/msg $S SET CLOSEREQ <closereq-text>",
222         "This sets a message sent to users when their request is closed.",
223         "You may disable this message by using * as the text.",
224         "$uSee also:$u set");
225 "SET IDLEDELAY" ("$bSET IDLEDELAY$b",
226         "/msg $S SET IDLEDELAY <interval>",
227         "If a user idles in the help channel longer than the IdleDelay, then the bot will complain every WhineInterval reminding helpers of all the users that are waiting and idle at least IdleDelay. As a user without voice is forced to be idle, this makes sense primarily if the help channel is moderated (+m) and the helpers voice users (+v) to ask them what they need.",
228         "You may disable this by using 0 as the interval.",
229         "$uSee also:$u set, set whineinterval");
230 "SET WHINEDELAY" ("$bSET WHINEDELAY$b",
231         "/msg $S SET WHINEDELAY <interval>",
232         "If any unhandled requests in the queue are at least this old, the bot will send a page requesting someone to handle it.",
233         "If the request remains unhandled, another complaint will be sent every WhineInterval.",
234         "You may disable this by using 0 as the interval.",
235         "$uSee also:$u set, set whineinterval");
236 "SET WHINEINTERVAL" ("$bSET WHINEINTERVAL$b",
237         "/msg $S SET WHINEINTERVAL <interval>",
238         "If any unhandled requests in the queue are at least WhineDelay old, then every WhineInterval, the bot will send a complaint about each unhandled request at least WhineDelay old, reminding helpers that the request is still unhandled.",
239         "IdleDelay messages are also sent every WhineInterval.",
240         "If you use 0 as the interval, only the initial request will be sent.",
241         "$uSee also:$u set, set whinedelay, set idledelay");
242 "SET EMPTYINTERVAL" ("$bSET EMPTYINTERVAL$b",
243         "/msg $S SET EMPTYINTERVAL <interval>",
244         "If the help channel is unstaffed (there are no helpers in the channel) the bot will send a complaint to PageTarget every EmptyInterval.",
245         "You may disable this by using 0 as the interval.",
246         "$uSee also:$u set");
247 "SET STALEDELAY" ("$bSET STALEDELAY$b",
248         "/msg $S SET STALEDELAY <interval>",
249         "If a user adds additional information to a request that has been otherwise inactive for at least this amount of time, the PageTarget is sent a message set by StatusPageType mentioning the update.",
250         "You may disable this by using 0 as the interval.",
251         "$uSee also:$u set, set pagetarget, set statuspagetype");
252 "SET REQPERSIST" ("$bSET REQPERSIST$b",
253         "/msg $S SET REQPERSIST <persistence-type>",
254         "This sets the \"request persistence\" for all requests.",
255         "The following types of persistence may be used:",
256         "Part            Request is closed when the user parts the channel",
257         "Quit            Request is closed when the user disconnects from IRC",
258         "Close           Request is only closed when a helper closes it",
259         "$uPart$u and $uQuit$u type requests, and $uClose$u type requests with no associated account, will be automatically closed when the services restart.",
260         "$uSee also:$u set, set helperpersist");
261 "SET HELPERPERSIST" ("$bSET HELPERPERSIST$b",
262         "/msg $S SET REQPERSIST <persistence-type>",
263         "This sets the \"helper persistence\" for all requests.",
264         "The following types of persistence may be used:",
265         "Part            Request is marked unassigned when the helper parts the channel",
266         "Quit            Request is marked unassigned when the helper disconnects from IRC",
267         "Close           Request is never marked unassigned",
268         "$uPart$u and $uQuit$u type requests will be marked unassigned when the services restart.",
269         "$uSee also:$u set, set reqpersist");
270 "SET NOTIFICATION" ("$bSET NOTIFICATION$b",
271         "/msg $S SET NOTIFICATION <notification-type>",
272         "This sets the \"notification level\" for all requests. It determines which messages are sent to helpers when something happens with their request, or the user/account the request is associated with.",
273         "The following notification levels may be used:",
274         "None             No notifications are sent",
275         "ReqDrop          Send a notification if a request is dropped",
276         "UserChanges      Above, and also notify of the user changing nick, disconnecting, or coming online",
277         "AccountChanges   Above, and also notify when the user authenticates to an account or unregisters an account ($bcan only be set by an IRCOP$b)",
278         "$uSee also:$u set");
279 "SET PRIVMSGONLY" ("$bSET PRIVMSGONLY$b",
280         "/msg $S SET PRIVMSGONLY <Yes|No>",
281         "This sets if messages to users communicating with $S will have their responses in privmsg format (overriding their account's preference for privmsg or notice).",
282         "Helpers are not affected by this setting.",
283         "$uSee also:$u set");
284 "SET REQONJOIN" ("$bSET REQONJOIN$b",
285         "/msg $S SET REQONJOIN <Yes|No>",
286         "This sets if requests are automatically opened whenever someone joins the help channel. They contain no text by default.",
287         "Helpers are not affected by this setting.",
288         "$uSee also:$u set");
289 "SHOW" ("$bSHOW$b",
290         "/msg $S SHOW <reqid|nick|*account>",
291         "Shows the details of the specified request.",
292         "$uSee also:$u list");
293 "STATS" ("$bSTATS$b",
294         "/msg $S STATS <nick|*account>",
295         "Shows time and request statistics for the specified helper.  (If no one is specified, shows your own stats.)",
296         "Only managers and owners may look at stats for other users.");
297 "STATSREPORT" ("$bSTATSREPORT$b",
298         "/msg $S STATSREPORT [NOTICE]",
299         "Sends a list of how long each helper has been in the help channel for the past 4 weeks (separated by week)",
300         "If you give the \"NOTICE\" argument, it will send the report as NOTICEs instead of PRIVMSGs.",
301         "$uSee also:$u stats");
302 "UNREGISTER" ("$bUNREGISTER$b",
303         "/msg $S UNREGISTER CONFIRM",
304         "Unregisters the channel and removes the service from the channel.");