-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME.txt
45 lines (36 loc) · 1.56 KB
/
README.txt
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
s S s
s s s s S
_____S___S__S______
(==================_)__________
\ ... ... ´ `
/| : O : : O : | Welcome to |
| | :___: :___: | JZBot |
\_\ _ / ___________-´
\ -----´ --´
`-----------´
JZBot is an IRC bot. Visit http://github.com/javawizard/jzbot if
you have questions.
To set up JZBot, make sure you have java. If you don't,
install it by running "sudo apt-get install sun-java6-jdk".
I haven't tested JZBot with OpenJDK, so if you install that
instead of sun-java6-jdk, your mileage may vary. I also
haven't tested JZBot on Windows, but it should work without
a problem. Then, run this command:
chmod +x jzbot
Then run this:
./jzbot
That command will print out info on how to set up the bot.
========== FOR THE TECHNICALLY INCLINED ==========
If you want to write your own functions (see "~help functions"
for info on what functions are), all you need to do is create
a subclass of jw.jzbot.fact.Function in the package
jw.jzbot.fact.functions, and place its .class files in
classes/jw/jzbot/fact/functions. I know this fixed-package
naming is less than intuitive, and I plan to add a configuration
file in the future that can be used to register functions in
other classes or folders. I'm also thinking of making a plugins
folder where groups of functions can be registered at a time
by including jar files.
If you've created a function that does something useful,
and you wouldn't mind making it open-source, visit
http://github.com/javawizard/jzbot and submit a pull request.