It adds some color in the text..
Just type /xcolor [-bu|-n]
-b = Color + Bold
-u = Color + Underline
-n = Color
alias xcolor {
if ($1 == -b) { /msg $chan $chr(2) $+ $chr(3) $+ $r(2,14) $+ $2- }
if ($1 == -u) { /msg $chan $chr(31) $+ $chr(3) $+ $r(2,14) $+ $2- }
if ($1 == -bu) { /msg $chan $chr(2) $+ $chr(31) $+ $chr(3) $+ $r(2,14) $+ $2- }
if ($1 == -n) { /msg $chan $chr(3) $+ $r(2,14) $+ $2- }
}
instead of doing
$chr(2) $+ $chr(3) $+ $r(2,14) $+ $2-
you can clean it up a bit by doing
$+($chr(2),$chr(3),$r(2,14),$2-)
and also no need for the / in the front of msg
you can also do this on one line as well. heres one way of doing that.
alias xcolor { $iif($1 == -b,msg $chan $+($chr(2),$chr(3),$r(2,14),$2-),$iif($1 == -u,msg $chan $+($chr(31),$chr(3),$r(2,14),$2-),$iif($1 == -bu,msg $chan $+($chr(2),$chr(31),$chr(3),$r(2,14),$2-),$iif($1 == -n,msg $chan $+($chr(3),$r(2,14),$2-))))) }