forked from g2x3k/php-irc
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbot.conf
147 lines (119 loc) · 4.56 KB
/
bot.conf
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
;+---------------------------------------------------------------------------
;| PHP-IRC v2.2.1 Service Release
;| =======================================================
;| by Manick
;| (c) 2001-2006 by http://www.phpbots.org/
;| Contact: [email protected]
;| irc: #[email protected]
;| ========================================
;| Special Contributions were made by:
;| cortex
;+---------------------------------------------------------------------------
;| > Configuration File
;+---------------------------------------------------------------------------
;| > This program is free software; you can redistribute it and/or
;| > modify it under the terms of the GNU General Public License
;| > as published by the Free Software Foundation; either version 2
;| > of the License, or (at your option) any later version.
;| >
;| > This program is distributed in the hope that it will be useful,
;| > but WITHOUT ANY WARRANTY; without even the implied warranty of
;| > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;| > GNU General Public License for more details.
;| >
;| > You should have received a copy of the GNU General Public License
;| > along with this program; if not, write to the Free Software
;| > Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
;+---------------------------------------------------------------------------
;| Changes
;| =======-------
;| > If you wish to suggest or submit an update/change to the source
;| > code, email me at [email protected] with the change, and I
;| > will look to adding it in as soon as I can.
;+---------------------------------------------------------------------------
;====Bot config file
;====Contains the nickname of the Bot
nick php-irc
;====The nickserv password, if any (autoident)..
;password mypass
;====Real name..
realname php-irc 2.2.1
;====The server you are going to connect to
server layer13.it.cx
;====The server port
port 8067
;====The server password you are going to connect to
;serverpassword test
;====NAT IP
;natip 192.168.1.101
;===BIND IP
;Specify the IP this bot should bind to when connecting to a server
;bind 127.0.0.1
;====DCC Range start for chats/files
;dccrangestart 6081
;====DCC Reverse Protocl
;This follows the mIRC DCC Server Protocol
;When this is set, you will connect to this port
;on the users machine, and send them the file, similar to
;sysreset's firewall workaround.
;This function is EXPERIMENTAL
;====
;mircdccreverse 4000
;====Who on join?
;After joining a channel, populate the host lists
;with /WHO information? This probably isn't so good
;for larger channels...
;This function populates host/ident information for
;all users in a channel. Useful for running channel protection
;scripts and such. The DCC Reverse setting above using a WHOIS
;command to get user hosts, so this doesn't have to be set
;to use the above setting.
;====
;populatewho
;====Populate ban list?
;This will make php-irc run MODE #chan +b upon joining, populating
;the ban list. This is useful for running channel protection or ban
;rotating scripts.
;====
;populatebans
;====Flood lines
;when someone types text that is a trigger for the bot, how many times can they type
;different triggers (within a 10 second period) before the bot ignores them for spamming the bot
floodlines 500
;====Time to ban user in seconds for abusing the bots triggers
floodtime 60
;====Channels.. unlimited
;====i.e., channel #channel key
;====but you don't have to specify a key
channel #Manekian
;====Your ident
ident gh
;====Log file
logfile log.txt
;====uncomment the following lines to use a database
;either 'usedatabase mysql' or 'usedatabase postgre'
;usedatabase mysql
dbuser root
;dbpass none
db question
;dbprefix bot_
dbhost localhost
;dbport
;====Send queue timeout
;How often to send more text to the irc server. This handles the 'notice'
;and 'privMsg' commands sent from modules and such (in seconds)
queuetimeout 1
;====Send queue buffer
;How many bytes of text to send to the server every 'queuetimeout' period.
queuebuffer 225
;====Perm. Ignore (These hosts will always be ignored, forever)
;example:
;ignore *!*@*
;====DCC Admin password //default is 'mypass'
;dccadminpass a029d0df84eb5549c641e04a9ef389e5
;====set this to your function file
functionfile function.conf
;====whether this bot accepts sends from other people
upload no
;====The place where uploaded files are put.
uploaddir /home/my/dir/