1
% IBID-FACTPACK(1) Ibid Multi-protocol Bot | Ibid 0.1
7
ibid-factpack - Factoid-package management utility for Ibid
11
**ibid-factpack** [**-s**] *factpack-file*
12
**ibid-factpack** **-r** [**-f**] *factpack-name*
13
**ibid-factpack** **-h**
17
This utility is for adding and removing sets of packaged factoids, known as
18
factpacks, from your Ibid's factoid database.
8
| ``ibid-factpack`` [``-s``] *factpack-file*
9
| ``ibid-factpack`` ``-r`` [``-f``] *factpack-name*
10
| ``ibid-factpack`` ``-h``
15
This utility is for adding and removing sets of packaged factoids, known
16
as factpacks, from your Ibid's factoid database.
20
18
The default mode is factpack loading.
21
19
The *factpack-file* specified is loaded into the bot's database.
22
Should the pack contain any facts with the same name as an existing fact in the
23
bot's database, loading will be aborted, unless the *-s* option is supplied.
25
Factpacks can be gzipped if the filename ends with **.gz**.
27
When invoked with the **-r** option, the named factpack (original import
20
Should the pack contain any facts with the same name as an existing fact
21
in the bot's database, loading will be aborted, unless the ``-s`` option
24
Factpacks can be gzipped if the filename ends with ``.gz``.
26
When invoked with the ``-r`` option, the named factpack (original import
28
27
filename minus the extension) will be removed from the bot.
29
If any of the facts contained in that pack were modified while loaded in the
30
bot, unloading will be aborted, unless the **-f** option is supplied.
35
: Remove the named factpack, rather than importing.
38
: Force removal, if facts in the factpack were modified by users.
41
: Skip facts that clash with existing factoids, during import.
44
: Show a help message and exit.
28
If any of the facts contained in that pack were modified while loaded in
29
the bot, unloading will be aborted, unless the ``-f`` option is
36
Remove the named factpack, rather than importing.
39
Force removal, if facts in the factpack were modified by users.
42
Skip facts that clash with existing factoids, during import.
45
Show a help message and exit.
48
50
Factpacks are JSON-encoded text files containing a list of facts.
49
51
Each fact is a tuple of two lists: fact-names, fact-values.
50
52
The same substitutions are available as in normal online Factoids.
55
[["Hello", "Hi"], ["<reply> Hi There", "<action> waves"]],
56
[["Bye"], ["<reply> kbye $who", "<reply> Cheers"]]
62
: Locates the database to act upon by looking for the
63
[**databases**].**ibid** value in the bot configuration file in the current
59
[["Hello", "Hi"], ["<reply> Hi There", "<action> waves"]],
60
[["Bye"], ["<reply> kbye $who", "<reply> Cheers"]]
67
Locates the database to act upon by looking for the
68
[**databases**].\ **ibid** value in the bot configuration file in the
70
76
http://ibid.omnia.za.net/
78
.. vi: set et sta sw=3 ts=3: