Actions
Bug #5602
open
JB
PA
Identifiers in message options are variables
Bug #5602:
Identifiers in message options are variables
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.
- The text in message options should be $eval()'d.
- 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