Site Tools


hook
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


hook [2006/08/01 03:45] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +======Synopsis:======
 +[[hook]] <anything>
 +
 +======Description:======
 +[[HOOK]] throws an [[on]] [[on hook|hook]] event.  The [[on hook]] feature is
 +your way to create your own user-defined [[on]]s.
 +
 +======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 $
  
hook.txt · Last modified: 2006/08/01 03:45 by 127.0.0.1