-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.patch
More file actions
140 lines (116 loc) · 4.11 KB
/
Copy pathexample.patch
File metadata and controls
140 lines (116 loc) · 4.11 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
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
<?xml version="1.0" encoding="UTF-8"?>
<!--
_ __ __
(_)_________ ____ ____ _/ /______/ /_
/ / ___/ ___/_____/ __ \/ __ `/ __/ ___/ __ \
/ / / / /__/_____/ /_/ / /_/ / /_/ /__/ / / /
/_/_/ \___/ / .___/\__,_/\__/\___/_/ /_/
/_/ v0.15.25 - "bamboo"
=================
| example.patch |
=================
This is an example patchfile for use with irc-patch.pl. It will
connect the channel "#ircpatch" an IRC server to running on localhost.
IRC server on localhost, set the administration password to
"changeme", set the MOTD to welcome incoming users, and turn
verbose mode on.
Multiple channels can be patched together (and the chat traffic
from one won't be sent to any differently named channel).
Multiple servers can also be patched together; and channels
patched on one network will automatically be patched to the
according channel on any named network.
These elements are required for a valid patchfile: channel, server,
password, nick, alternate
Optional elements and their default values: verbose (0), log (""), bot_chat ("*** "),
ircname ("irc-patch bamboo-0.15.25 (IRC network-channel relay bot)"),
motd (""), private_messaging (1), timestamp (1), information (1)
-->
<patch>
<!--
=================
| LINK SETTINGS |
=================
-->
<!--
Create one "channel" element for each channel that you want to patch.
At least one "channel" is required.
-->
<channel>#ircpatch</channel>
<!--
Create one "server" element for each server/network that you want to patch.
Format for each is "server/IP:port".
At least one "server" is required.
-->
<server>localhost:6667</server>
<!--
Sets the password required for administration functions; only one per patchfile.
Required for a valid patchfile.
-->
<password>changeme</password>
<!--
Set "nick" to the desired bot's nick; only one per patchfile.
Required for a valid patchfile.
-->
<nick>irc-patch</nick>
<!--
Set "alternate" to the desired bot's alternate nick; only one per patchfile.
If both the desired nick and alternate are in use, the alternate nick will
be used with a random number appended onto the end.
Required for a valid patchfile.
-->
<alternate>irc-patch01525</alternate>
<!--
=====================
| OPTIONAL SETTINGS |
=====================
-->
<!--
Set "verbose" to "1", "yes", or "on" to turn on verbose mode.
Default value is 1.
-->
<verbose>on</verbose>
<!--
Set "log" to a valid filename to turn on logging.
-->
<log></log>
<!--
Set "private_messaging" to "1", "yes", or "on" to turn on private messaging.
Set "private_messaging" to "0", "no", or "off" to turn off private messaging.
Default value is 1.
-->
<private_messaging>on</private_messaging>
<!--
Set "information" to "1", "yes", or "on" to turn on information commands (.who, .list, .version).
Set "information" to "0", "no", or "off" to turn off information commands.
Default value is 1.
-->
<information>on</information>
<!--
Set "timestamp" to "1", "yes", or "on" to turn on timestamped log and verbose messages.
Set "timestamp" to "0", "no", or "off" to turn off timestamped log and verbose messages.
Default value is 1.
-->
<timestamp>on</timestamp>
<!--
Set "ircname" the desired bot's username; only one per patchfile.
Not required; the default value is "irc-patch bamboo-0.15.25 (IRC network-channel relay bot)".
-->
<ircname>irc-patch 0.15.25 IRC bot</ircname>
<!--
Set motd to a filename to load text from that file.
This message will be sent to the joining user via private notice,
along with a list of all remote users.
Several symbols in the provided MOTD will be replaced with the
appropirate information:
%CHANNEL% -> The channel being joined
%SERVER% -> The server the user joined on
%NICK% -> The joining user's nick
%HOSTMASK% -> The joining user's hostmask
-->
<motd>Welcome to %CHANNEL%, %NICK%!</motd>
<!--
Set "bot_chat_id" to preface all bot's chats with a symbol.
Default value is "*** ".
-->
<bot_chat_id>*** </bot_chat_id>
</patch>