hook <anything>
HOOK throws an on hook event. The on hook feature is your way to create your own user-defined ons.
This script will echo a line every 10 seconds:
on ^hook "foo" { timer 10 { echo This line is repeated every 10 seconds hook foo } } hook foo
#$EPIC: hook.txt,v 1.2 2006/08/01 03:29:42 sthalik Exp $