To create new wiki account, please join us on #znc at freenode and ask admins to create a wiki account for you. You can say thanks to spambots for this inconvenience.

ExpandString

From ZNC
Revision as of 11:14, 17 December 2011 by DarthGandalf (talk | contribs) (Created page with "Some features (e.g. the perform and awaynick modules and the <code>CTCPReply</code> and (starting with version 0.090) <code>MOTD</code> [[Configuration|config options]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Some features (e.g. the perform and awaynick modules and the CTCPReply and (starting with version 0.090) MOTD config options) support some variable-like strings. Here is a list of these:

Variable Value
%user% your user name
%defnick% your default nick
%nick% the current nick
%altnick% the alternate nick as specified in the config
%ident% the ident
%realname% the realname
%vhost% the current vhost
%version% ZNC's version string
%time% the current time (can be used for CTCP TIME replies)
%uptime% ZNC's uptime