-
Notifications
You must be signed in to change notification settings - Fork 6
/
README
27 lines (19 loc) · 813 Bytes
/
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
This is manderlbot, an attempt to write an irc bot in erlang, with a XML
based configuration.
To use it, install erlang, then xmerl-0.15
http://www.erlang.org/user.html#xmerl-0.15
On my system this means install the compiled files in
/usr/lib/erlang/lib/xmerl-0.15
make install will provide you /usr/bin/manderlbot to start the bot.
If you have installed the debian package, you don't have to make
install.
Once manderlbot is running, you can obtain a shell on the erlang VM it
is running in, by launching another VM and connecting to the former.
erl -setcookie mdb -sname control
(control@node)1>
Then you hit ^G and connect to the manderlbot VM:
User switch command
--> r manderlbot@node
--> c 3
If you want to stop manderlbot, you can now type in
(manderlbot@node)1> application:stop(manderlbot).