rem: playSounds(client.MSG_BEEP); if (client.NEW_TAB_LIMIT == 0 || client.viewsArray.length < client.NEW_TAB_LIMIT) 
add: playSounds(client.prefs["msgBeep"]); var limit = client.prefs["newTabLimit"]; if (limit == 0 || client.viewsArray.length < limit) 
context: function my_cprivmsg (e){    if ("messages" in this)    {        playSounds(client.QUERY_BEEP);    }    else    {                playSounds(client.MSG_BEEP);        if (client.NEW_TAB_LIMIT == 0 ||            client.viewsArray.length < client.NEW_TAB_LIMIT)        {            var tab = openQueryTab (e.server, e.user.nick);            if (client.FOCUS_NEW_TAB)                setCurrentObject(tab);        }        }    this.display (e.params[2], "PRIVMSG", e.user, e.server.me);}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/ec1f57a2df47ea77b6ce245c6e2bd99b25d52195/handlers.js/buggy/xul/content/handlers.js