Project

General

Profile

Feature #713

Generating away-nicks and/or disconnected-nicks "on the fly"

Added by valuial almost 15 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General / Unspecified
Target version:
-
Start date:
06/02/2009
Due date:
% Done:

0%

Estimated time:
OS:
Any

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

Also available in: Atom PDF