fix wall/piston command

Dear all,

I need

fix wall/piston command input script file ,can any body give me