Commands documented to take a parameter of type Hook are special. In place of the hook parameter, you specify the name of a hook (not as a string!), for example,

 On Load Do MyAddon.Initialize

This special behaviour is only available for elementary functions and commands. You cannot write functions or subroutines that take Hook parameters.

PCC offers a set of predefined hooks that run when a particular event happens. These are documented in the group Hooks (and also listed below as "properties").

Commands and Functions taking Hook as Parameter

Properties of type Hook

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.