Before you can write your own scripts, you must set your user level to Scripting (5). Go to the Preferences card of your Home stack and set your user level there if you want it set to Scripting every time you start HyperCard.