rem: var server = getObjectDetails(client.currentObject).server; if (server) nick = server.me.properNick; 
add: var nick = client._popupContext.user; if (nick.indexOf("ME!") != -1) { var details = getObjectDetails(client.currentObject); if ("server" in details) nick = details.server.me.properNick; }  line = line.replace (/\$nick/ig, nick); 
context: function onPopupSimulateCommand (line){    var nick = client._popupContext.user;    if (nick == "ME!")    {        var server =            getObjectDetails(client.currentObject).server;        if (server)            nick = server.me.properNick;    }    line = line.replace (/\$nick/ig, nick);    onInputCompleteLine ({line: line}, true);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/b8511d02e8bcb51d475c1c9a02b7a6f680ba5830/handlers.js/buggy/extensions/irc/xul/content/handlers.js