Feature #713
Generating away-nicks and/or disconnected-nicks "on the fly"
0%
Description
I'd like to see a feature introduced, that lets you use some variables in the Away-Nick and/or Disconnected-Nick settings.
For example:
$NICK = Current Nick Example: kageookami
$IDENTITY.NICK = (1st) Nick of the choosen Identity (or as an array?) Example: kage-ookami
so you can set your away nick to:
${NICK}[afk]
results in kageookami[afk]
or for the disconnected nick:
${IDENTITY.NICK}[discon]
results in kage-ookami[discon]
I've taken bash-style variables to make the point, not sure what style of substitution would work best. Some other posibilities would be VARNAME or simple %a %c %n stuff...
This could also be introduced as a plugin (script?) but would need some event handlers introduced (more than a simple /exec command can)...
MaxNickLen provided by the irc server should be taken into consideration here. (how do we handle results that are too long? truncate the variable part, or the result? needs to be discussed