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.
Perform: Difference between revisions
Jump to navigation
Jump to search
Specify what the module does when loaded as a user vs. network. |
m Show where the .registry files are stored / simply it. |
||
Line 3: | Line 3: | ||
This module is used to perform one or more user-specified commands when connecting to the IRC network. | This module is used to perform one or more user-specified commands when connecting to the IRC network. | ||
Loading the module as a user will cause it to perform on all networks. Loading a network will cause it to only work on that network. | |||
Depending on how the perform module is loaded, the commands are stored: | |||
user: ~/.znc/users/$user/moddata/perform/.registry | |||
network: ~/.znc/users/$user/networks/$network/moddata/perform/.registry | |||
Revision as of 11:39, 25 April 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 perform The code for this module can be found here. This module is part of ZNC since Version 0.047 |
This module is used to perform one or more user-specified commands when connecting to the IRC network.
Loading the module as a user will cause it to perform on all networks. Loading a network will cause it to only work on that network.
Depending on how the perform module is loaded, the commands are stored:
user: ~/.znc/users/$user/moddata/perform/.registry network: ~/.znc/users/$user/networks/$network/moddata/perform/.registry
Usage
Arguments
This network module takes no arguments.
Read loading modules to learn more about loading modules.
Commands
The perform list is automatically saved on changes.
An example:
/msg *perform add msg X@Channels.undernet.org LOGIN <username> <password> /msg *perform add msg Q@CServe.quakenet.org :AUTH <username> <password> /msg *perform add mode %nick% +X /msg *perform add OPER USER PASSWORD /msg *perform del 1 /msg *perform list
See ExpandString for a list of available variables.