view plugins/ask/ask.md @ 116:1e43405991ee

Irccd: missing path in plugin listing
author David Demelier <markand@malikania.fr>
date Thu, 28 Apr 2016 20:53:41 +0200
parents 9a907e58f978
children 19df514cb61c
line wrap: on
line source

---
title: "Ask plugin"
header: "Ask plugin"
---

The plugin **ask** is funny script that helps you in your life. It will tells you if you will be rich, famous and so on.

## Installation

The plugin **ask** is distributed with irccd. To enable it add the following to your `plugins` section:

````ini
[plugins]
ask = ""
````

## Usage

The plugin **ask** reacts to special command, you just need to do `!ask the question` and it will give you a response.

## Example

````nohighlight
markand: !ask will I be rich?
irccd: markand, No.
````

## Configuration

By default, **ask** will only answer yes or no. It's possible to add any answers you want in the file **answers.conf**
located in the ask configuration directory.

Just add one line per answer like this:

<div class="panel panel-info">
 <div class="panel-heading">~/.config/irccd/plugin/ask/answers.conf</div>
 <div class="panel-body">
````nohighlight
Stop dreaming,
Definitely sure!
Maybe
````
 </div>
</div>