I think there is a problem - this is from the EasyTok docs...
TOK_CreateABCube("Toto1",Rnd(-10,10),40,Rnd(-10,10),0,0,0,2,2,2,"",255,255,1,1)
TOK_CreateMaterial("MyMaterialICE",5.3,8)
TOK_ApplyMaterial("Toto1",TOK_TypeAnimBody%,"MyMaterialICE")
If fails, please try it