mirror of
https://github.com/pragma-/pbot.git
synced 2025-02-16 21:40:46 +01:00
README.md: add section about processes
This commit is contained in:
parent
4a2b6e18e9
commit
35e735ad7d
11
README.md
11
README.md
@ -15,6 +15,7 @@ PBot is a versatile IRC Bot written in Perl
|
|||||||
* [Chaining](#chaining)
|
* [Chaining](#chaining)
|
||||||
* [Variables](#variables)
|
* [Variables](#variables)
|
||||||
* [Inline invocation](#inline-invocation)
|
* [Inline invocation](#inline-invocation)
|
||||||
|
* [Background processing](#background-processing)
|
||||||
* [Factoids](#factoids)
|
* [Factoids](#factoids)
|
||||||
* [Code Factoids](#code-factoids)
|
* [Code Factoids](#code-factoids)
|
||||||
* [Plugins](#plugins)
|
* [Plugins](#plugins)
|
||||||
@ -144,6 +145,16 @@ is addressed to a nick, the output will also be addressed to them.
|
|||||||
<PBot> newuser13: PBot version 2696 2020-01-04
|
<PBot> newuser13: PBot version 2696 2020-01-04
|
||||||
<PBot> newuser13: To learn all about me, see https://github.com/pragma-/pbot/tree/master/doc
|
<PBot> newuser13: To learn all about me, see https://github.com/pragma-/pbot/tree/master/doc
|
||||||
|
|
||||||
|
#### Background processing
|
||||||
|
Any command can be flagged to execute as a background process. For example, suppose you
|
||||||
|
make a Plugin that has a command that may potentially take a long time to complete, which could
|
||||||
|
cause PBot to be non-responsive until the command completes...
|
||||||
|
|
||||||
|
Not a problem! You can use the [`cmdset`](doc/Commands.md#cmdset) command to set the `execute-process` [command metadata](doc/Admin.md#command-metadata-list)
|
||||||
|
and the command will now run as a background process, allowing PBot to carry on with its duties while the command runs.
|
||||||
|
|
||||||
|
The familiar [`ps`](doc/Admin.md#ps) and [`kill`](doc/Admin.md#kill) commands can be used to list and kill the background processes.
|
||||||
|
|
||||||
### Factoids
|
### Factoids
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user