In the code file you created there is a line that says 'proc' then something. you need to enter the something as the third command. this is usually the name of the STB.

[TiVo [p0] ~]# tivosh
% source teac_stb.tcl
% teac_stb
% exit
[TiVo [p0] ~]#

Peter.