alias say {
if ($1 == $null) [color:blue]/echo $color(info) -ati2 $themetext(Error) /say - Insufficient Parameters[/color]
else if ($show) /msg $active $1-
else .msg $active $1-
}
alias msg {
if ($2 == $null) [color:blue]/echo $color(info) -ai2 $themetext(Error) /msg - Insufficient Parameters[/color]
else if (Status Window == $active) [color:blue]/echo $color(info) -ati2 $themetext(Error) /msg - Not In A Channel[/color]
else {
.raw PRIVMSG $1 $+(:,$2-)
if ($numtok($1, 44) == 1) {
[color:red]if ($show) /echo $color(own) -ti2 $1 $themenick($me, $1) $2-[/color]
}
else if ($numtok($1, 44) > 1) {
if ($show) {
var %chan = 1
while ($gettok($1, %chan, 44)) {
[color:Red]/echo $color(own) -ti2 $ifmatch $themenick($me, $ifmatch) $2-[/color]
/inc %chan
}
}
}
}
}