@name Croc0S
@inputs KB 
@persist IK:array St:string
interval(1)

if(first()){     #Key number, always "invalid"         
    IK:setString(0,"invalid")
    IK:setString(1,"invalid")
    IK:setString(2,"invalid")
    IK:setString(3,"invalid")
    IK:setString(4,"invalid")
    IK:setString(5,"invalid")
    IK:setString(6,"invalid")
    IK:setString(7,"invalid")
    IK:setString(9,"invalid")
    IK:setString(10,"invalid")
    IK:setString(11,"invalid")
    IK:setString(12,"invalid")
    IK:setString(13,"invalid")
    IK:setString(14,"invalid")
    IK:setString(15,"invalid")
    IK:setString(16,"invalid")
    IK:setString(17,"invalid")
    IK:setString(18,"invalid")
    IK:setString(19,"invalid")
    IK:setString(20,"invalid")
    IK:setString(21,"invalid")
    IK:setString(22,"invalid")
    IK:setString(23,"invalid")
    IK:setString(24,"invalid")
    IK:setString(25,"invalid")
    IK:setString(26,"invalid")
    IK:setString(27,"invalid")
    IK:setString(28,"invalid")
    IK:setString(29,"invalid")
    IK:setString(30,"invalid")
    IK:setString(31,"invalid")
    IK:setString(127,"invalid")
    IK:setString(128,"invalid")
    IK:setString(129,"invalid")
    IK:setString(130,"invalid")
    IK:setString(131,"invalid")
    IK:setString(132,"invalid")
    IK:setString(133,"invalid")
    IK:setString(134,"invalid")
    IK:setString(135,"invalid")
    IK:setString(136,"invalid")
    IK:setString(137,"invalid")
    IK:setString(138,"invalid")
    IK:setString(144,"invalid")
    IK:setString(145,"invalid")
    IK:setString(146,"invalid")
    IK:setString(147,"invalid")
    IK:setString(148,"invalid")
    IK:setString(149,"invalid")
    IK:setString(150,"invalid")
    IK:setString(151,"invalid")
    IK:setString(152,"invalid")
    IK:setString(153,"invalid")
    IK:setString(154,"invalid")
    IK:setString(158,"invalid")
    IK:setString(161,"invalid")
    IK:setString(162,"invalid")
    IK:setString(163,"invalid")
    IK:setString(164,"invalid")
    IK:setString(165,"invalid")
    IK:setString(166,"invalid")
    IK:setString(167,"invalid")
    IK:setString(168,"invalid")
    IK:setString(169,"invalid")
    IK:setString(170,"invalid")
    IK:setString(171,"invalid")
    IK:setString(172,"invalid")
    IK:setString(173,"invalid")
    IK:setString(174,"invalid")
    IK:setString(175,"invalid")
    IK:setString(176,"invalid")
    IK:setString(177,"invalid")
    IK:setString(178,"invalid")
    St = ""
}

        #Commands & errors
        if(KB == 13){
            #Basic commands
            I = St:lower()
            if(I == "testcmd"){
print("success2")
                timer("cmd",0)
            }
        }
            elseif(I == "players"){
print("test")
}

   



           

    elseif(I == "test"){

            print("success")
}

