on ^*:TEXT:*:?:{
;
; If we're using the single message window
;
if ($gettok($readini($mircini,options,n0),22,44)) {
echo $color(normal text) -bdflmrti2 $+(<,$chr(3),$cnick($nick).color,$nick,$chr(3),>) $1-
}
;
; Or if we're using Show Queries in Active
;
elseif ($gettok($readini($mircini,options,n4),5,44)) {
echo $color(normal text) -abdflmrti2 $+(*,$chr(3),$cnick($nick).color,$nick,$chr(3),*) $1-
}
;
; Otherwise, echo the message to their own window
;
else {
echo $color(normal text) -bflmrti2 $nick $+(<,$chr(3),$cnick($nick).color,$nick,$chr(3),>) $1-
}
;
; Halt the default text
;
haltdef
}