Table of Contents

Synopsis:

hook <anything>

Description:

HOOK throws an on hook event. The on hook feature is your way to create your own user-defined ons.

Examples:

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

History:

#$EPIC: hook.txt,v 1.2 2006/08/01 03:29:42 sthalik Exp $