From 5d285ffb962ec16b9b0f3e5d7425a3ea2fae2579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Fri, 6 Aug 2021 17:14:13 +0200 Subject: xB: fix up the special IPC command's name To reflect the new disorder. --- xB.adoc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'xB.adoc') diff --git a/xB.adoc b/xB.adoc index 91f7703..0fa48e5 100644 --- a/xB.adoc +++ b/xB.adoc @@ -57,24 +57,24 @@ Plugins ------- Plugins communicate with the bot over their standard input and output streams using the IRC protocol. (Caveat: the standard C library doesn't automatically -flush FILE streams for pipes on newlines.) A special *ZYKLONB* command is -introduced for RPC, with the following subcommands: +flush FILE streams for pipes on newlines.) A special *XB* command is introduced +for RPC, with the following subcommands: -*ZYKLONB get_config* _key_:: +*XB get_config* _key_:: Request the value of the given configuration option. If no such option exists, the value will be empty. The response will be delivered in the following format: + ``` -ZYKLONB :value +XB :value ``` + This is particularly useful for retrieving the *prefix* string. -*ZYKLONB print* _message_:: +*XB print* _message_:: Make the bot print the _message_ on its standard output. -*ZYKLONB register*:: +*XB register*:: Once a plugin issues this command, it will start receiving all of the bot's incoming IRC traffic, which includes data from the initialization period. -- cgit v1.2.3