Mercurial > irccd
comparison plugins/ask/ask.md @ 0:1158cffe5a5e
Initial import
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 08 Feb 2016 16:43:14 +0100 |
parents | |
children | 8384df86e195 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1158cffe5a5e |
---|---|
1 --- | |
2 title: "Ask plugin" | |
3 header: "Ask plugin" | |
4 --- | |
5 | |
6 The plugin **ask** is funny script that help you in your life. It will tell you if you will be rich, famous and so on. | |
7 | |
8 ## Installation | |
9 | |
10 The plugin **ask** is distributed with irccd. To enable it add the following to your `plugins` section: | |
11 | |
12 ````ini | |
13 [plugins] | |
14 ask = "" | |
15 ```` | |
16 | |
17 ## Usage | |
18 | |
19 The plugin **ask** reacts to special command, you just need to do `!ask the question` and it will give you a response. | |
20 | |
21 Example: | |
22 | |
23 markand: !ask will I be rich? | |
24 irccd: markand, No. | |
25 | |
26 ## Configuration | |
27 | |
28 By default, **ask** will only answer yes or no. It's possible to add any answers you want in the file **answers.conf** | |
29 located in the ask configuration directory. | |
30 | |
31 Just add one line per answer like this: | |
32 | |
33 **~/.local/config/irccd/plugin/ask/answers.txt**: | |
34 | |
35 Stop dreaming, | |
36 Definitely sure! | |
37 Maybe |