;Changes default to (nick) by default. You can modify the left-hand side (lhs) and right-hand side (rhs) ;by changing the first two lines below. ; ;If you use any color/bold/etc formatting, be sure to end the formatting with a ctrl+o unless you want the text after it formatted too ;May not work with custom themes. Load in your last script to maximize compatibility. alias -l lhs return ( alias -l rhs return ) on ^*:TEXT:*:*: { if ($halted) return ;Show prefix on nicks var %nick = $iif($gettok($readini($mircini,options,n2),30,44),$iif($chan ischan,$nick($chan,$nick).pnick,$nick),$nick) %nick = $lhs $+ $iif($cnick($iif($chan,$nick($chan,$nick).pnick,$nick)).color == $color(text),%nick, $+ $base($v1,10,10,2) $+ %nick $+ ) $+ $rhs var %window = $iif($chan,$chan,$nick) echo $color(text) -bflti2 %window %nick $strip($1-,mo) if ($window(%window).sbcolor != highlight) window -g $+ $iif($highlight($1-),2,1) %window haltdef } on *:INPUT:*: { if ($left($1,1) == $readini($mircini,text,commandchar)) return if ($halted) return if ($active = Status Window) return if ($left($active,1) != $chr(61)) .raw PRIVMSG $active : $+ $1- else .msg $active $1- ;Check for mIRC's option for prefixing own messages if ($gettok($readini($mircini,options,n0),23,44) == 1) { ;Show prefix on nicks var %nick = $iif($gettok($readini($mircini,options,n2),30,44),$iif($active ischan,$nick($active,$me).pnick,$me),$me) %nick = $lhs $+ $iif($cnick($iif($chan,$nick($chan,$me).pnick,$me)).color == $color(text),%nick, $+ $base($v1,10,10,2) $+ %nick $+  $+ $color(own)) $+ $rhs } else var %nick = > echo $color(own) -ti2 $active %nick $1- haltdef }