3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-29 15:29:32 +01:00

README.md: minor improvements

This commit is contained in:
Pragmatic Software 2020-01-08 01:45:11 -08:00
parent 40ba00d7eb
commit 69da5cf0a5

View File

@ -65,17 +65,6 @@ Plugin | Description
### Factoids ### Factoids
PBot supports factoids, with advanced features.
* metadata (e.g. owner, times used, last used date, locked, etc)
* advanced argument processing (indexing, splicing, etc)
* special commands: `/say`, `/me`, `/msg`, `/code`, etc
* advanced `$variable` interpolation (`$var:lc` to lowercase contents, `$var:ucfirst` to uppercase first letter, etc)
* factoid-based variable lists (e.g., add a factoid `$colors` containing "red green blue" and then `!echo $colors` will randomly pick one)
* changelog history
* undo/redo history
* and much, much more!
Factoids are a very special type of command. Anybody interacting with PBot Factoids are a very special type of command. Anybody interacting with PBot
can create, edit, delete and invoke factoids. Factoids can be locked by the can create, edit, delete and invoke factoids. Factoids can be locked by the
creator of the factoid to prevent them from being edited by others. creator of the factoid to prevent them from being edited by others.
@ -90,6 +79,17 @@ At its most simple, factoids merely output the text the creator sets.
Significantly more complex factoids can be built by using `$variables`, command-substitution, Significantly more complex factoids can be built by using `$variables`, command-substitution,
command-piping, `/code` invocation, and more! command-piping, `/code` invocation, and more!
PBot factoids include these advanced features:
* metadata (e.g. owner, times used, last used date, locked, etc)
* advanced argument processing (indexing, splicing, etc)
* special commands: `/say`, `/me`, `/msg`, `/code`, etc
* advanced `$variable` interpolation (`$var:lc` to lowercase contents, `$var:ucfirst` to uppercase first letter, etc)
* factoid-based variable lists (e.g., add a factoid `$colors` containing "red green blue" and then `!echo $colors` will randomly pick one)
* changelog history
* undo/redo history
* and much, much more!
For more information, see the [Factoids documentation](https://github.com/pragma-/pbot/blob/master/doc/Factoids.md). For more information, see the [Factoids documentation](https://github.com/pragma-/pbot/blob/master/doc/Factoids.md).
### Code Factoids ### Code Factoids
@ -131,8 +131,6 @@ Now you have a `qalc` calculator in PBot!
<pragma-> !qalc 2 * 2 <pragma-> !qalc 2 * 2
<PBot> 2 * 2 = 4 <PBot> 2 * 2 = 4
For more information, see the [Modules documentation](https://github.com/pragma-/pbot/blob/master/doc/Modules.md).
These are just some of the modules PBot comes with; there are several more: These are just some of the modules PBot comes with; there are several more:
Module | Description Module | Description
@ -146,6 +144,8 @@ Module | Description
[Urban Dictionary](modules/urban) | Search Urban Dictionary for definitions. [Urban Dictionary](modules/urban) | Search Urban Dictionary for definitions.
[Manpages](modules/man.pl) | Display a concise formatting of manual pages (designed for C functions) [Manpages](modules/man.pl) | Display a concise formatting of manual pages (designed for C functions)
For more information, see the [Modules documentation](https://github.com/pragma-/pbot/blob/master/doc/Modules.md).
### Useful IRC command improvements ### Useful IRC command improvements
* `mode` command can take wildcards, e.g. `mode +ov foo* bar*` to op nicks beginning with `foo` and voice nicks beginning with `bar` * `mode` command can take wildcards, e.g. `mode +ov foo* bar*` to op nicks beginning with `foo` and voice nicks beginning with `bar`
@ -201,7 +201,7 @@ PBot has an advanced command interpreter with useful functionality.
Support Support
------- -------
PBot has many features and can be daunting. For support, feel free to join the `#pbot2` channel on the [Freenode IRC network](https://freenode.net/kb/answer/chat). For questions and support, feel free to join the `#pbot2` channel on the [Freenode](https://freenode.net/kb/answer/chat) IRC network ([Web Chat](https://webchat.freenode.net/#pbot2)).
License License
------- -------