@name De-grammatizer
@persist A LS:string
if(first())
{
    runOnTick(1)
    runOnChat(1)
    
    if(convarnum("wire_expression2_concmd")==0)
    {
        print("[DE-GRAMMATIZER]: You need to enable concmd. To do so, type the following into the console.")
        print("Console Code: wire_expression2_concmd 1")
        selfDestruct()
    }
}

if(chatClk(owner())&!A)
{
    A  = 0
    hideChat(1)
    LS = owner():lastSaid():lower()
    LS = LS:replace(".","")
    LS = LS:replace(",","")
    LS = LS:replace("?","")
    LS = LS:replace("!","")
    LS = LS:replace("lol","lul")
    LS = LS:replace("'","")
    LS = LS:replace("you","u")
    LS = LS:replace("your","ur")
    LS = LS:replace("youre","ur")
    LS = LS:replace("dead","ded")
    LS = LS:replace("kill","kil")
    LS = LS:replace("build","bild")
    LS = LS:replace("ing","ng")
    LS = LS:replace("more","mor")
    LS = LS:replace("-"," ")
    LS = LS:replace("this","dis")
    LS = LS:replace("that","dat")
    LS = LS:replace("time","tim")
    LS = LS:replace("love","luv")
    LS = LS:replace("am","m")
    LS = LS:replace("dont","dun")
    LS = LS:replace("know","kno")
    LS = LS:replace("awesome","awsum")
    LS = LS:replace("cool","col")
    LS = LS:replace("the","da")
    LS = LS:replace("are","r")
    LS = LS:replace("then","dem")
    LS = LS:replace("why","y")
    LS = LS:replace("stop","stp")
    LS = LS:replace("hole","hol")
    LS = LS:replace("because","cuz")
    LS = LS:replace("cause","cuz")
    LS = LS:replace("cool","swaggg")
    LS = LS:replace("for","fr")
    LS = LS:replace("ever","evr")
    LS = LS:replace("because","cuz")
    LS = LS:replace("cause","cuz")
    LS = LS:replace("potato","poto")
    LS = LS:replace("gramma","gramme")
    #[
    LS = LS:replace("","")
    ]#
    
    timer("c",800)
}

if(clk("c"))
{
    stoptimer("c")
    concmd("say "+LS)
    timer("r",100)
}

if(clk("r"))
{
    stoptimer("r")
    A = 1
}
