hilight = qwebirc.ui.HILIGHT_ACTIVITY;
if(type.match(/(NOTICE|ACTION|MSG)$/)) {
- if(this.type == qwebirc.ui.WINDOW_QUERY) {
- hilight = qwebirc.ui.HILIGHT_US;
+ if(this.type == qwebirc.ui.WINDOW_QUERY || this.type == qwebirc.ui.WINDOW_MESSAGES) {
+ if(type.match(/^OUR/) || type.match(/NOTICE$/)) {
+ hilight = qwebirc.ui.HILIGHT_ACTIVITY;
+ } else {
+ hilight = qwebirc.ui.HILIGHT_US;
+ this.parentObject.beep();
+ }
}
if(!type.match(/^OUR/) && this.client.hilightController.match(line["m"])) {
lhilight = true;
hilight = qwebirc.ui.HILIGHT_US;
+ this.parentObject.beep();
} else if(hilight != qwebirc.ui.HILIGHT_US) {
hilight = qwebirc.ui.HILIGHT_SPEECH;
}
this.scrollAdd(element);
},
errorMessage: function(message) {
- this.addLine("", message, "red");
+ this.addLine("", message, "#FF6347");
+ },
+ infoMessage: function(message) {
+ this.addLine("", message, "#87CEFA");
},
setHilighted: function(state) {
if(state == qwebirc.ui.HILIGHT_NONE || state >= this.hilighted)