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

From ZNC
Revision as of 11:39, 25 April 2014 by KindOne (talk | contribs) (Show where the .registry files are stored / simply it.)
Jump to navigation Jump to search

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.