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

doc/Factoids.md: make it clearer that user has to install virtual machine

This commit is contained in:
Pragmatic Software 2020-01-10 16:28:11 -08:00
parent 3e8580a91a
commit 40fb8f7aa8

View File

@ -67,10 +67,10 @@ Factoids are a very special type of command. Anybody interacting with PBot can c
At its most simple, factoids merely output the text the creator sets.
<pragma-> !factadd hello /say Hello, $nick!
<pragma-> !factadd hello /say Hello, $nick!
<PBot> hello added to global channel.
<pragma-> PBot, hello
<pragma-> PBot, hello
<PBot> Hello, pragma-!
Significantly more complex factoids can be built by using $variables, command-substitution, command-piping, /code invocation, and more!
@ -122,8 +122,8 @@ Code Factoids are a special type of factoid whose text is treated as code and ex
or interpreter. The output from code is then parsed and treated like any other factoid text. This allows anybody to add
new and unique commands to PBot without the need for installing Plugins or modules.
Code Factoids are executed within a virtual machine. See the [Virtual Machine](doc/VirtualMachine.md) documentation
for more information.
Code Factoids are executed within a virtual machine. You must install and set up a virtual machine with your operating system.
See the [Virtual Machine](doc/VirtualMachine.md) documentation for more information.
To create a Code Factoid, use the `/code` command. The syntax is: