rem: display(getMsg(MSG_STALK_ADD, e.text)); 
add: for (var i = 0; i < list.length; ++i) if (list[i].toLowerCase() == loweredText) notStalkingWord = false;  if (notStalkingWord) { list.push(e.text); list.update(); display(getMsg(MSG_STALK_ADD, e.text)); } else { display(getMsg(MSG_STALKING_ALREADY, e.text)); } 
context: function cmdStalk(e){    var list = client.prefs["stalkWords"];    if (!e.text)    {        if (list.length == 0)            display(MSG_NO_STALK_LIST);        else            display(getMsg(MSG_STALK_LIST, list.join(MSG_COMMASP)));        return;    }    list.push(e.text);    list.update();    display(getMsg(MSG_STALK_ADD, e.text));}
meta: 3298	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/3298/bd4d5017935240c4d1fc75470ad948a1ae2597c4/commands.js/clean/xul/content/commands.js