Click "Make a Block" to get this dialog box:
Click inside the block to edit its name.
When you click OK, the new block will appear in :
A define block will appear in Scripts. Use define to tell the custom block what to do: