@@ -0,0 +1,1350 @@
+package com.btk5h.skriptmirror.skript;%0A%0Aimport com.btk5h.skriptmirror.JavaType;%0Aimport com.btk5h.skriptmirror.Util;%0A%0Aimport org.bukkit.event.Event;%0A%0Aimport ch.njol.skript.Skript;%0Aimport ch.njol.skript.lang.Condition;%0Aimport ch.njol.skript.lang.Expression;%0Aimport ch.njol.skript.lang.SkriptParser;%0Aimport ch.njol.util.Kleenean;%0A%0Apublic class CondIsInstanceOf extends Condition %7B%0A  static %7B%0A    Skript.registerCondition(CondIsInstanceOf.class,%0A        %22%25objects%25 (is%7Care) %5Ba%5Bn%5D%5D instance%5Bs%5D of %25javatypes%25%22,%0A        %22%25objects%25 (is not%7Cisn't%7Care not%7Caren't) %5Ba%5Bn%5D%5D instance%5Bs%5D of %25javatypes%25%22);%0A  %7D%0A%0A  private Expression%3CObject%3E objects;%0A  private Expression%3CJavaType%3E type;%0A%0A  @Override%0A  public boolean check(Event e) %7B%0A    return objects.check(e, o -%3E%0A        type.check(e, t -%3E%0A                t.getJavaClass().isInstance(o),%0A            isNegated()%0A        )%0A    );%0A  %7D%0A%0A  @Override%0A  public String toString(Event e, boolean debug) %7B%0A    return String.format(%22%25s instanceof %25s%22, objects.toString(e, debug), type.toString(e, debug));%0A  %7D%0A%0A  @Override%0A  public boolean init(Expression%3C?%3E%5B%5D exprs, int matchedPattern, Kleenean isDelayed,%0A                      SkriptParser.ParseResult parseResult) %7B%0A    objects = Util.defendExpression(exprs%5B0%5D);%0A    type = Util.defendExpression(exprs%5B1%5D);%0A    setNegated(matchedPattern == 1);%0A    return true;%0A  %7D%0A%7D%0A

Add an instanceof expression (fixes #36)