final Effect e = Effect.parse(command, null);
ScriptLoader.deleteCurrentEvent();
if (e != null) {
log.clear(); // ignore warnings and stuff
log.printLog();
sender.sendMessage(ChatColor.GRAY + "executing '" + ChatColor.stripColor(command) + "'");
if (SkriptConfig.logPlayerCommands.value() && !(sender instanceof ConsoleCommandSender))
Skript.info(sender.getName() + " issued effect command: " + command);
e.run(new EffectCommandEvent(sender, command));