mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-22 11:59:43 +01:00
doc/Registry.md: minor edit
This commit is contained in:
parent
87872f5ecf
commit
45d2fc2d7a
@ -56,7 +56,13 @@ overrides are permanent and will be saved.
|
|||||||
|
|
||||||
Usage: `regset <section>.<item> <value>`
|
Usage: `regset <section>.<item> <value>`
|
||||||
|
|
||||||
For example, to override the trigger for #mychannel to be any of `,`, `!` or `%`:
|
To override the trigger for #mychannel to `$`:
|
||||||
|
|
||||||
|
<pragma-> !regset #mychannel.trigger $
|
||||||
|
<PBot> #mychannel.trigger set to $
|
||||||
|
|
||||||
|
To override the trigger for #mychannel to be any of `,`, `!` or `%`, you can use
|
||||||
|
a character class:
|
||||||
|
|
||||||
<pragma> !regset #mychannel.trigger [,!%]
|
<pragma> !regset #mychannel.trigger [,!%]
|
||||||
<PBot> #mychannel.trigger set to [,!%]
|
<PBot> #mychannel.trigger set to [,!%]
|
||||||
|
Loading…
Reference in New Issue
Block a user