rem: if (e && e.inputData) client.currentObject.display ("Currently implemented commands " + "matching the pattern ``" + e.inputData + "'' are ["  + client.commands.listNames(e.inputData) .join(", ") + "].\n" + "Type /help <command-name> for " + "information about a specific " + "command.", "INFO"); 
add: var pattern = (e && e.inputData) ? e.inputData : ""; var matchResult = client.commands.listNames(pattern).join(", ");  if (pattern) client.currentObject.display (getMsg("cli_icommandsMsg2a", [pattern, matchResult]), "INFO"); 
context: function cli_icommands (e){    client.currentObject.display ("Type /help <command-name> for " +                                  "information about a specific " +                                  "command.", "INFO");        if (e && e.inputData)        client.currentObject.display ("Currently implemented commands " +                                      "matching the pattern ``" + e.inputData +                                      "'' are ["  +                                       client.commands.listNames(e.inputData)                                      .join(", ") + "].\n" +                                      "Type /help <command-name> for " +                                      "information about a specific " +                                      "command.", "INFO");    else        client.currentObject.display ("Currently implemented commands are ["  +                                       client.commands.listNames().join(", ") +                                      "].", "INFO");    return true;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/4fbc8db5e05d9bf177aa5aa12fe077bb2a8db05a/handlers.js/buggy/extensions/irc/xul/content/handlers.js