diff -ru xchat-2.0.0/src/common/cfgfiles.c xchat-2.0.0.beephi/src/common/cfgfiles.c --- xchat-2.0.0/src/common/cfgfiles.c 2003-02-10 05:24:20.000000000 +0100 +++ xchat-2.0.0.beephi/src/common/cfgfiles.c 2003-02-23 17:52:14.000000000 +0100 @@ -429,6 +429,7 @@ {"irc_who_join", P_OFFINT (userhost), TYPE_BOOL}, {"input_beep_chans", P_OFFINT (beepchans), TYPE_BOOL}, + {"input_beep_hilight", P_OFFINT (beephilight), TYPE_BOOL}, {"input_beep_msg", P_OFFINT (beepmsg), TYPE_BOOL}, {"input_command_char", P_OFFSET (cmdchar), TYPE_STR}, {"input_filter_beep", P_OFFINT (filterbeep), TYPE_BOOL}, diff -ru xchat-2.0.0/src/common/inbound.c xchat-2.0.0.beephi/src/common/inbound.c --- xchat-2.0.0/src/common/inbound.c 2003-02-09 03:53:54.000000000 +0100 +++ xchat-2.0.0.beephi/src/common/inbound.c 2003-02-23 19:36:39.000000000 +0100 @@ -315,9 +315,11 @@ if (prefs.beepchans || sess->beep) fe_beep (); - if (is_hilight (text, sess, serv)) + if (is_hilight (text, sess, serv)){ hilight = TRUE; - + if (prefs.beephilight) + fe_beep (); + } if (sess->type == SESS_DIALOG) EMIT_SIGNAL (XP_TE_DPRIVMSG, sess, from, text, nickchar, NULL, 0); else if (hilight) diff -ru xchat-2.0.0/src/common/xchat.h xchat-2.0.0.beephi/src/common/xchat.h --- xchat-2.0.0/src/common/xchat.h 2003-02-09 03:53:32.000000000 +0100 +++ xchat-2.0.0.beephi/src/common/xchat.h 2003-02-23 17:51:31.000000000 +0100 @@ -207,6 +207,7 @@ unsigned int filterbeep; unsigned int beepmsg; unsigned int beepchans; + unsigned int beephilight; unsigned int truncchans; unsigned int privmsgtab; unsigned int logging; diff -ru xchat-2.0.0/src/fe-gtk/setup.c xchat-2.0.0.beephi/src/fe-gtk/setup.c --- xchat-2.0.0/src/fe-gtk/setup.c 2003-02-10 03:39:31.000000000 +0100 +++ xchat-2.0.0.beephi/src/fe-gtk/setup.c 2003-02-23 17:50:59.000000000 +0100 @@ -209,6 +209,7 @@ {ST_TOGGLE, N_("Beep on private messages"), P_OFFINT(beepmsg), 0, 0, 0}, {ST_TOGGLE, N_("Automatically unmark away"), P_OFFINT(auto_unmark_away), N_("Unmark yourself as away before sending messages"), 0, 0}, {ST_TOGGLE, N_("Beep on channel messages"), P_OFFINT(beepchans), 0, 0, 0}, + {ST_TOGGLE, N_("Beep on higlighted messages"), P_OFFINT(beephilight), 0, 0, 0}, {ST_TOGGLE, N_("Announce away messages"), P_OFFINT(show_away_message), N_("Announce your away messages to all channels"), 0, 0}, {ST_TOGGLE, N_("Display MODEs in raw form"), P_OFFINT(raw_modes), 0, 0, 0}, {ST_NUMBER, N_("Auto reconnect delay:"), P_OFFINT(recon_delay), 0, 0, 9999},