COMMANDS USED FOR AUTOMATION
To add automation commands to your znc, go to Network Modules -> Perform and in the Commands box, add the below lines (one per line)
LOGIN TO X
PRIVMSG X@channels.nationchat.org :LOGIN your-x-username your-x-password
SET YOUR X MASK works just if you login to X
(eg: your-x-username.user.nationchat.org)
mode %nick% +x
LOGIN TO H (just if you had created a vhost)
PRIVMSG H :LOGIN nickname password
* not all commands are listed here!