Project

General

Profile

[deprecated] [script] Boldify topic fix v0.1

Added by Mr. BS over 4 years ago

If you are an AdiIRC user, you've probably noticed the strange channel topic content behavior on main chat area, where topic is prefixed by a bold char.

This is caused by the option "Make certain part of messages bold". You have two options to fix this behavior, turn off that feature or add a ctrl+o as first topic char. This feature has a cool visual effect, I refuse to turn it off, the second solution is applicable only for channels where you have control over. Then the proper fix is the tiny script bellow.

Screenshot

Script

; http://dev.adiirc.com/boards/5/topics/203
; Boldify topic fix
; v0.1 by pereba

raw 332:*:echo 28 $m $2 $p Topic is: $3- | halt
on ^*:TOPIC:#:echo 28 $m $p $b($nick) changes topic to: $1- | halt
alias -l p return $readini($adiircini,n,Messages,PrefixSys)
alias -l b return $iif($readini($adiircini,n,Messages,Boldify) == True, $+($chr(2),$1-,$chr(2)), $1-)
alias -l m return $iif($readini($adiircini,n,Messages,UseTimestamp) == True, -rt, -r)

Script multi-language experimental

; http://dev.adiirc.com/boards/5/topics/203
; Boldify topic fix
; v0.1 by pereba

raw 332:*:echo 28 $m $2 $p $replacex($adilang(TopicIs0),{0},$3-) | halt
on ^*:TOPIC:#:echo 28 $m $p $replacex($adilang(ChangesTopicTo1),{0},$b($nick),{1},$1-) | halt
alias -l p return $readini($adiircini,n,Messages,PrefixSys)
alias -l b return $iif($readini($adiircini,n,Messages,Boldify) == True, $+($chr(2),$1-,$chr(2)), $1-)
alias -l m return $iif($readini($adiircini,n,Messages,UseTimestamp) == True, -rt, -r)

Alternatively you can contact the AdiIRC developer to "fix" it internally, who knows. :D