mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 11:59:43 +01:00
doc/Factoids.md: make it clearer that user has to install virtual machine
This commit is contained in:
parent
3e8580a91a
commit
40fb8f7aa8
@ -67,11 +67,11 @@ 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.
|
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.
|
<PBot> hello added to global channel.
|
||||||
|
|
||||||
<pragma-> PBot, hello
|
<pragma-> PBot, hello
|
||||||
<PBot> Hello, pragma-!
|
<PBot> Hello, pragma-!
|
||||||
|
|
||||||
Significantly more complex factoids can be built by using $variables, command-substitution, command-piping, /code invocation, and more!
|
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
|
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.
|
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
|
Code Factoids are executed within a virtual machine. You must install and set up a virtual machine with your operating system.
|
||||||
for more information.
|
See the [Virtual Machine](doc/VirtualMachine.md) documentation for more information.
|
||||||
|
|
||||||
To create a Code Factoid, use the `/code` command. The syntax is:
|
To create a Code Factoid, use the `/code` command. The syntax is:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user