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.
Autovoice: Difference between revisions
Jump to navigation
Jump to search
>Paccer |
>Notpeter Add some better examples with hostmap. |
||
Line 14: | Line 14: | ||
Just read the help: | Just read the help: | ||
/msg *autovoice help | /msg *autovoice help | ||
ADDCHANS <user> <channel> [channel] ... | |||
DELCHANS <user> <channel> [channel] ... | |||
ADDUSER <user> <hostmask> [channels] | |||
DELUSER <user> | |||
==== Examples ==== | |||
To voice two user when they join a particular channel | |||
adduser user nick!ident@host.tld #channel | |||
adduser hubot hubot!nodebot@127.0.0.1 #team | |||
To voice everybody who joins "#ubuntu" do the following: | To voice everybody who joins "#ubuntu" do the following: | ||
Latest revision as of 22:50, 5 December 2014
This module is a part of ZNC. This module is shipped with ZNC by default. If you have the right "LoadMod" you can activate it with /znc LoadMod autovoice The code for this module can be found here. This module is part of ZNC since Version 1.0 |
This module voices everyone joining the channel you tell it to.
Usage
Arguments
This network module takes many arguments. Each argument is either a channel you want autovoice for (which can include wildcards) or, if it starts with !, it is an exception for autovoice.
Read loading modules to learn more about loading modules.
Commands
Just read the help:
/msg *autovoice help ADDCHANS <user> <channel> [channel] ... DELCHANS <user> <channel> [channel] ... ADDUSER <user> <hostmask> [channels] DELUSER <user>
Examples
To voice two user when they join a particular channel
adduser user nick!ident@host.tld #channel adduser hubot hubot!nodebot@127.0.0.1 #team
To voice everybody who joins "#ubuntu" do the following:
<fabs> listusers <*autovoice> There are no users defined <fabs> adduser * * #ubuntu <*autovoice> User [*] added with hostmask [*] <fabs> listusers <*autovoice> +------+----------+----------+ <*autovoice> | User | Hostmask | Channels | <*autovoice> +------+----------+----------+ <*autovoice> | * | * | #ubuntu | <*autovoice> +------+----------+----------+