To create new wiki account, please join us on #znc at Libera.Chat and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.
Broadcast: Difference between revisions
>Efreak No edit summary |
m →This module is no longer being maintained.: Reword note and include example of *status command. |
||
Line 4: | Line 4: | ||
=This module is no longer being maintained.= | =This module is no longer being maintained.= | ||
This global module | This global module has been replaced by a *status command. It uses the standard prefix. | ||
/msg *status BROADCAST <message> | |||
or | |||
/znc BROADCAST <message> | |||
== Getting the Code == | == Getting the Code == |
Latest revision as of 14:38, 23 September 2023
This is an external module. Please note that it may or may not work with the current release (1.9.1). This module is not included in the default ZNC installation, and you will need to manually compile it before you can load this module. Contact the author if you have any questions, but feel free to ask in #znc on Libera.Chat. Someone might be able to help you there. |
This module is no longer being maintained.
This global module has been replaced by a *status command. It uses the standard prefix.
/msg *status BROADCAST <message>
or
/znc BROADCAST <message>
Getting the Code
The code for this module can be found in my github or on the wiki
Usage
Arguments
This user module takes no traditional arguments. The global notice prefix can be set via the the argument. There are no other arguments available. If you don't include one, it defaults to "ZNC Global Message: "
Read loading modules to learn more about loading modules.
Commands
broadcast
Send a message with the set prefix.
/msg *broadcast broadcast MESSAGE
set
Change the prefix used to broadcast.
/msg *broadcast set PREFIX
This is easier than reloading the module, but will not save to config. To do this, you should reload with the message as a parameter, then use the *status command SaveConfig
show
Show the current message prefix.
/msg *broadcast show