User Tools

Site Tools



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

Link to this comparison view

on_unload [2006/08/29 16:08] (current)
Line 1: Line 1:
 +[[on]] [<​modes>​]unload [<​serial#>​] [-|^]<​match>​ { <​action>​ }
 +This hook is triggered whenever the [[unload]](5) command is issued to unload
 +a packaged script.
 +|$* |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)
 +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 (external edit)