can anyone explain how to write the script in qtp???

i'm totally new to this and being asked to write an script all i know is that we don't write script, it generates by executing files.