Project

General

Profile

Actions

Bug #5602

open

Identifiers in message options are variables

Added by JD Byrnes almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Interface
Target version:
Start date:
07/18/2022
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Currently, the identifiers in message options are variables. This is misleading, and frustrating to a new user.

$pnick in message options means $nick($chan, $nick).pnick, $pnick in scripts means $pnick. My testing has concluded that the variables are just being replaced rather than evaluated.

So this bug is kind of two bugs:
  1. The text in message options should be $eval()'d.
  2. The identifiers such as $nickicon should be available to scripts (when $nick) is set, or with optional parameters eg. $nick(<nick>)

This fixes a few things, particularly when creating a theme (currently, there's no away to show a user's icon when you /echo a message that a user is away)

Actions

Also available in: Atom PDF