Select New Method Template to place the format for creating a new method in the Script pane.
Note that the format is different for public and private methods.