Bug #3665
closedPrefix and user colors in messages changed after latest build
0%
Description
I think it happened after I updated to latest build (2.9 Beta Build 2017/07/31-2)
Nick colors doesn't seem to take effect, Channel Modes: @+~^%
Left on screenshot is the new "wrong" colors, right side is a log with correct colors.
Files
Updated by Andreas vb over 7 years ago
I reverted to previous build and it works again, so something changed.
Don't think it's https://dev.adiirc.com/issues/3641 as it's already <$pnick>
Updated by Per Amundsen over 7 years ago
- Category set to Interface
- Status changed from New to Assigned
- Assignee set to Per Amundsen
Can you share your Nick color settings?
Updated by Andreas vb over 7 years ago
Any nick:
Channel modes (check): @+~^%
Edit: same issue when "nick colors" is disabled.
Updated by Per Amundsen over 7 years ago
I am not able to replicate this, are you using any scripts?
Updated by Andreas vb over 7 years ago
Oh, I think I found it then.
Maybe it didn't work before with pnick, so it ignored it?
Might be from this http://hawkee.com/snippet/6699/
on ^*:TEXT:*:#:{
if ($left($nick(#,$nick,a,r).pnick,1) == ~) { haltdef | echo -mt $chan 9< $+ 6 $+ ~11 $+ $nick $+ 9 $+ > 7 $1- }
if ($left($nick(#,$nick,a,r).pnick,1) == &) { haltdef | echo -mt $chan 9< $+ 6 $+ &11 $+ $nick $+ 9 $+ > 7 $1- }
if ($left($nick(#,$nick,a,r).pnick,1) == @) { haltdef | echo -mt $chan 9< $+ 6 $+ @11 $+ $nick $+ 9 $+ > 7 $1- }
if ($left($nick(#,$nick,a,r).pnick,1) == %) { haltdef | echo -mt $chan 9< $+ 6 $+ %11 $+ $nick $+ 9 $+ > 7 $1- }
if ($left($nick(#,$nick,a,r).pnick,1) == +) { haltdef | echo -mt $chan 9< $+ 6 $+ +7 $+ $nick $+ 9 $+ > 7 $1- }
}
on *:INPUT:*:{
if ($left($1,1) == /) return
else {
if ($left($nick(#,$me).pnick,1) isin $prefix) {
haltdef
.msg $active $1-
echo -t $chan 9<6 $+ $left($nick($chan,$me).pnick,1) $+ 11 $+ $me $+ 9> $1-
}
else {
echo -t $chan 4<5 $+ 14 $+ $me $+ 4> $1-
.msg $active $1-
haltdef
}
}
}
Updated by Per Amundsen over 7 years ago
Yeah. some old themes had $user instead of $pnick, when you upgraded to the last beta, $user was replaced with $pnick and the script probably started working.
Updated by Per Amundsen over 7 years ago
- Status changed from Assigned to Invalid
Might be something else I fixed, not sure, marking as invalid.