Limnoria/plugins/Conditional
Valentin Lorentz bee98f6711 Conditional: Do not use noReply() after running the command.
As the command already calls reply() or noReply(), calling noReply()
there had disastrous effects:

* if reply() was called, noReply() erases the argument
* if noReply() was called, calling noReply() a second time erases **the next argument** (because the current argument was already erased).

This was 'caused' by the change of behavior of noReply() in 543edccd41.
2017-10-26 09:55:52 +02:00
..
local Import Conditional from gribble repo 2011-02-20 11:13:57 +01:00
locales Use a prefix-less help string, don't assume a '@' prefix (#1309) 2017-10-25 21:19:37 +02:00
README.md Fill README of some plugins. Closes GH-747. Closes GH-749. 2014-06-14 13:23:06 +02:00
__init__.py Remove need for 2to3. 2015-08-11 16:50:23 +02:00
config.py Fix neutral pronouns. 2014-04-11 21:56:42 +00:00
messages.pot Squashed commit of the following: 2014-12-20 14:37:27 +01:00
plugin.py Conditional: Do not use noReply() after running the command. 2017-10-26 09:55:52 +02:00
test.py Conditional: Rename @iferror to @cerror and simplify its logic to just return a boolean. 2015-11-14 19:28:05 +01:00

README.md

Provides a bunch of commands that enables you to run other commands based on a condition. Also provides logic operators for writing conditions.

Useful for bot scripting / nested commands.