Okay so a program savy friend of mine looked over the plugin to help me out and spotted this:
//-----------------------------------------------------------------------------
// Game_Interpreter
//
// The interpreter for running event commands.
var Alias_Game_Interpreter_pluginCommand = Game_Interpreter.prototype.pluginCommand;
Game_Interpreter.prototype.pluginCommand = function(command, args) {
if (command.toLowerCase() === "qsight") {
if (args[0].toLowerCase() === "setinvisible") {
var charaId = Number(args[1]);
var chara = charaId === 0 ? $gamePlayer : $gameMap.event(charaId);
if (!chara) return;
chara._invisible = args[2].toLowerCase() === "true";
return;
}
}
Alias_Game_Interpreter_pluginCommand.call(this, command, args);
};
Basically on line 87 you goofed up on line 87 by putting a 1 instead of a 2 in there. You may want to update the plugin so that everyone(including me) isn't wondering why its not working.
Now this however exposed a nasty bug that according to my friend triggers on line 401. This bug however ONLY triggers if the NPC has sight of the player and attempts to lose sight by running into or through an event set to turn on the invisibility.