Site Tools


on_unload
no way to compare when less than two revisions

Differences

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


on_unload [2006/08/29 16:08] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +======Synopsis:======
 +[[on]] [<modes>]unload [<serial#>] [-|^]<match> { <action> }
 +
 +======Description:======
 +This hook is triggered whenever the [[unload]](5) command is issued to unload
 +a packaged script.
 +
 +======Parameters:======
 +|$* |the parameters passed to the /[[package]] command|
 +(NOTE that passing more than one argument to /[[package]] may cause
 +future incompatibilities, and should be avoided at all costs)
 +
 +======Examples:======
 +To inform the user that a script is exiting:
 +   on ^unload "superscript *" {
 +      xecho -b SuperScript exiting. To infinity, and lots farther!
 +   }
 +
  
on_unload.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1