-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHelpTree.pm
More file actions
96 lines (94 loc) · 4.8 KB
/
HelpTree.pm
File metadata and controls
96 lines (94 loc) · 4.8 KB
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
# Copyright (c) 2010 ZeroNet Development Group
package HelpTree;
our %helptree = (
WHATIS => 'View more information about a specific command',
ADDNIG => 'Add a host to the blacklist.',
DELNIG => 'Remove a host from the blacklist.',
CALC => 'Calculate an expression.',
RANDQUOTE => 'Get a random quote from the database. (Added via ADDQUOTE)',
ADDQUOTE => 'Add a quote to the database.',
SAY => 'PRIVMSG a channel with data.',
LAST => 'View last command sent to the bot.',
HELP => 'View more information on a command.',
PING => 'For users to check if they\'re still alive',
LIST => 'List data about the bot. Valid options are CHANNELS, ADMINS, TS, QUOTES, NIGS, and OWNERS. (Syntax: LIST CHANNELS).',
ACT => 'Equivalent to /me sending to a channel.',
WHOAMI => 'View your access level in the channel and/or bot.',
SYSINFO => 'View working environment information',
);
our %helptree_a = (
ATS => 'Associate word with response.',
BAN => 'Ban a user from a channel.',
HELP => 'View more information on a command.',
SYSINFO => 'View working environment information',
CALC => 'Calculate an expression.',
ADDGREET => 'Add a message to print to the channel when a specific user joins.',
DELGREET => 'Remove a greet message for a user.',
RANDQUOTE => 'Get a random quote from the database. (Added via ADDQUOTE)',
DELQUOTE => 'Remove a quote from the database. Specify which number to remove.',
ADDQUOTE => 'Add a quote to the database.',
CYCLE => 'Have the bot cycle (part/join) a channel',
LIST => 'List data about the bot. Valid options are CHANNELS, ADMINS, TS, QUOTES, NIGS, and OWNERS. (Syntax: LIST CHANNELS).',
DTS => 'Delete a word association.',
PING => 'For users to check if they\'re still alive',
LAST => 'View last command sent to the bot.',
JOIN => 'Have bot join a channel.',
KICK => 'Kick a user from a channel.',
KB => 'Kick and Ban a user from a channel.',
WALLCHAN => 'Message each channel defined in configuration.',
RAW => 'Print raw data to the IRC Server.',
WHOAMI => 'View your access level in the channel and/or bot.',
SAY => 'PRIVMSG a channel with data.',
ACT => 'Equivalent to /me sending to a channel.',
ADDNIG => 'Add a host to the blacklist.',
DELNIG => 'Remove a host from the blacklist.',
ADMIN => 'Checks to see if user is an admin (you are if you\'re seeing this)',
JOIN => 'NETJOIN the bot to a channel',
TRIGGER => 'Change command trigger.',
PART => 'NETPART the bot from a channel',
UNBAN => 'Unban an address from the channel ban list.'
);
our %helptree_q = (
ATS => 'Associate word with response.',
ADDNIG => 'Add a host to the blacklist.',
DELNIG => 'Remove a host from the blacklist.',
BAN => 'Ban a user from a channel.',
WALLCHAN => 'Message each channel defined in configuration.',
CYCLE => 'Have the bot cycle (part/join) a channel.',
RANDQUOTE => 'Get a random quote from the database. (Added via ADDQUOTE)',
DELQUOTE => 'Remove a quote from the database. Specify which number to remove.',
ADDQUOTE => 'Add a quote to the database.',
CALC => 'Calculate an expression.',
LAST => 'View last command sent to the bot.',
LIST => 'List data about the bot. Valid options are CHANNELS, ADMINS, TS, QUOTES, NIGS and OWNERS. (Syntax: LIST CHANNELS).',
HELP => 'View more information on a command.',
SYSINFO => 'View working environment information.',
ADDGREET => 'Add a message to print to the channel when a specific user joins.',
DELGREET => 'Remove a greet message for a user.',
DTS => 'Delete a word association.',
JOIN => 'Have bot join a channel.',
PING => 'For users to check if they\'re still alive.',
KICK => 'Kick a user from a channel.',
KB => 'Kick and Ban a user from a channel.',
DELCHAN => 'Remove a channel from the channel database. Note: Cannot remove any channels defined in zerobot.conf.',
RAW => 'Print raw data to the IRC Server.',
NICK => 'Change bot\'s current nick.',
SAY => 'PRIVMSG a channel with data.',
ACT => 'Equivalent to /me sending to a channel.',
ADDCHAN => 'Join a channel and add it to the channel database.',
ADMIN => 'Checks to see if user is an admin (you are if you\'re seeing this).',
JOIN => 'NETJOIN the bot to a channel.',
MODLOAD => 'Load a custom module (Example: MODLOAD Modules/Password.pm).',
PART => 'NETPART the bot from a channel.',
CFG => 'Write changes to the configuration settings.',
UNBAN => 'Unban an address from the channel ban list.',
TRIGGER => 'Change command trigger.',
CROAK => 'Force the bot to quit from the server and end its PID ('.$$.').',
RESTART => 'Force the bot to disconnect from the server, and restart itself.',
WHOAMI => 'View your access level in the channel and/or bot.',
RELOAD => 'Reload the configuration file and update admins, owners, etc.'
);
sub hnormal { return \%helptree; }
sub hadmin { return \%helptree_a; }
sub howner { return \%helptree_q; }
1;