rem: var lastLine = (msg[msg.length - 1] != '\\'); 
add: var lastLine = (msg[msg.length - 1] != "\\"); 
context: function my_chan_privmsg (e){    var user = e.user;    var msg = e.decodeParam(2);    if (msg.indexOf(bot.prefix) == 0 && userIsOwner(user))    {        /* if last char is a continuation character, then... */        if (msg[msg.length - 1] == '\\') {            user.accumulatedScript = msg.substring(bot.prefix.length,                                                   msg.length - 1);            return false; // prevent other hooks from processing this...         }        else        {            return bot_eval(e, msg.substring(bot.prefix.length,                                             msg.length));        }    }    else if ((typeof(user.accumulatedScript) != "undefined")  &&             userIsOwner(user))            /* if we were accumulating a message, add here,             * and finish if not ends with '\'. */    {        var lastLine = (msg[msg.length - 1] != '\\');        var line = msg.substring(0, msg.length - (lastLine ?  0 : 1));        user.accumulatedScript += line;        if (lastLine)        {            var script = user.accumulatedScript;            delete user.accumulatedScript;            return bot_eval(e, script);        }    }}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/f2409242c4bd80894b9e55aecabbcfb1a791f3fa/ircbot.js/clean/js/tests/ircbot.js