EPIC Enhanced Programmable IRC-II Client

set num_of_whowas

Synopsis

/set num_of_whowas [<number>]

Provided by the bundled builtins script. Default: 1 when that script initializes the setting. With no number, set displays the current value. Values must be nonnegative integers.

Description

Controls the default number of historical nickname records requested by the script-provided whowas alias. It also applies when auto_whowas invokes that alias after a no-such-nickname reply.

The alias adds this value as the count argument when no explicit arguments follow the nickname. It does not count or suppress replies locally. The IRC server determines how many records are available and how it interprets the requested count. Zero conventionally requests all available records, but server limits and policy still apply.

For example, after setting the default to three:

/set num_of_whowas 3
/whowas alice

The alias sends WHOWAS alice 3. An explicit count overrides the default:

/whowas alice 1

Scope and limitations

This is a script setting rather than a registered C built-in variable. Without the script defining it, the name is unavailable unless another script supplies it. The C whowas command forwards its arguments without consulting this setting; bypassing aliases with //whowas alice therefore does not add the default count.

Changing the value affects future alias invocations, not replies already requested or displayed. It does not enable or disable automatic queries; auto_whowas controls that separately. A server can return fewer records, no records, or an error regardless of the chosen value.

Source references