tiletype( x, y ) returns the neworder tiletype used for setshape2 on x,y
Tiletype / tile index (use with setshape)
nonblock 0
hurt underground 2
chair 3
bed upper 4
bed lower 5
swamp 6
lava swamp 7
near water 8
water 11
lava 12
throw-through 20
jump stone 21
blocking 22
this be what I have in my commands.rtf, you're probably just not using a neworder tileset