@name Commands E2
@inputs 
@outputs 
@persist 
@trigger 

runOnChat(1)
runOnTick(1)

Owner=findPlayerByName("Croc")
LastSaid=Owner:lastSaid():lower():explode(" ")
LastSaid1=LastSaid:string(1)
LastSaid2=LastSaid:string(2)
LastSaid3=LastSaid:string(3)

if (chatClk(Owner)) {
    if (LastSaid[1,string] == ">jail") {
                concmd("evs jail "+LastSaid2)
        concmd("say "+Owner:name()+" jailed "+LastSaid2+"!")
    }
    #Updater & Related --------------------------------------------------
    if (LastSaid1==">jail") {
        concmd("evs jail "+LastSaid2)
        concmd("say "+Owner:name()+" jailed "+LastSaid2+"!")
    }
    if (LastSaid1==">unjail") {
        concmd("evs jail "+LastSaid2+" 0")
        concmd("say "+Owner:name()+" unjailed "+LastSaid2+"!")
    }
    if (LastSaid1==">ragdoll") {
        concmd("evs ragdoll "+LastSaid2)
        concmd("say "+Owner:name()+" ragdolled "+LastSaid2+"!")
    }
    if (LastSaid1==">unragdoll") {
        concmd("evs ragdoll "+LastSaid2+" 0")
        concmd("say "+Owner:name()+" unragdolled "+LastSaid2+"!")
    }
    if (LastSaid1==">god") {
        concmd("evs god "+LastSaid2)
        concmd("say "+Owner:name()+" godded "+LastSaid2+"!")
    }
    if (LastSaid1==">ungod") {
        concmd("evs god "+LastSaid2+" 0")
        concmd("say "+Owner:name()+" ungodded "+LastSaid2+"!")
    }
    if (LastSaid1==">tp") {
        concmd("evs tp "+LastSaid2)
        concmd("say "+Owner:name()+" teleported "+LastSaid2+"!")
    }
    if (LastSaid1==">explode") {
        concmd("evs explode "+LastSaid2)
        concmd("say "+Owner:name()+" killed "+LastSaid2+"!")
    }
    if (LastSaid1==">slap") {
        concmd("evs slap "+LastSaid2+" "+LastSaid3)
        concmd("say "+Owner:name()+" slapped "+LastSaid2+" for "+LastSaid3+" damage!")
    }
    if (LastSaid1==">blind") {
        concmd("evs blind "+LastSaid2)
        concmd("say "+Owner:name()+" blinded "+LastSaid2+"!")
    }
    if (LastSaid1==">unblind") {
        concmd("evs blind "+LastSaid2+" 0")
        concmd("say "+Owner:name()+" unblinded "+LastSaid2+"!")
    }
}
