@name Calc
runOnChat(1)

if (chatClk(owner()) & owner():lastSaid():lower():find(" ")) {
    C = owner():lastSaid():explode(" ")
    F = C[1,string]:toNumber()
    L = C[3,string]:toNumber()
    if (C[2,string]=="+"){print(F+L)}
    if (C[2,string]=="/"){print(F/L)}
    if (C[2,string]=="-"){print(F-L)}
    if (C[2,string]=="*"){print(F*L)}
}
