-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
70 lines (61 loc) · 3.3 KB
/
README
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
BashDude - a simple bodular IRC bot written in bash
Version : 0.23
Date : 2010-04-22
Tag-name : proof-of-concept
I've done a complete redesign and basically started everything from scratch.
FEATURES:
- connect to a single irc network
- auto-join a list of channels
- join on invite
- user-registration
- ACL management (extendable)
- in-channel user interaction
I'll keep development in progress on this, so stay sticky!
DIRECTORY-TREE:
.
|-- README this readme document
|-- bin directory for all main scripts (scripts to be executed by the user)
| `-- bashdude the main loop of the bot
|-- etc directory for configuration files
| |-- channels list of channels to auto-join | one channel per line (supports +k)
| |-- config main configuration file for connection, bot and owner information
| |-- header a header file for all directory and file variables - just for the better overview
| `-- users the user file | format: user password acl
|-- usr
| `-- share directory for internal routines and all core sub-scripts
| |-- core directory for core routines
| | |-- acl_check script for validating acl | returns 0 for ok and 1 for not ok
| | |-- answer script for assembling PRIVMSGs and sending them to the network
| | |-- authorize script for authorizing users
| | |-- connect script for authorizing users
| | |-- incoming script for parsing incoming irc messages
| | |-- keepalive script for responding to TCP keep-alive requests
| | |-- modules directory for all core modules - modules are in-channel commands
| | | |-- identify script for identifying a user
| | | |-- join let the bot join a channel
| | | |-- part let the bot part a channel
| | | |-- ping i-am-alive command
| | | |-- register script for user registration
| | | `-- rehash script for rehashing the configuration and header file
| | |-- triggers directory for all message type handlers
| | | |-- message direcotry for user message handlers
| | | | |-- INVITE script for reacting to channel invites
| | | | |-- JOIN handles join messages
| | | | |-- MODE handles mode changes
| | | | |-- NICK handles nick changes
| | | | |-- NOTICE handles notices
| | | | |-- PART handles channel parts
| | | | |-- PRIVMSG handles privmsgs, also checks for incoming commands and initiates module
| | | | `-- QUIT handles quits
| | | `-- server directory for server message hadlers
| | | |-- 311 handles 311 - a whois response line | currently disabled due to ACCESS-FLOODing
| | | `-- 353 handles 353 - incoming channel user list
| `-- extras direcotry for all not core stuff
| `-- modules directory for extra modules
| `-- cycle let the bot cycle a channel
`-- var directory for all various stuff
|-- log log directory
`-- run directory for all dynamic runtime files
|-- auth.acl holds all authenticated nicks and their ACL
|-- channels directory for all channel files
`-- irc.input the input file to drop messages into the telnet loop