Table of Contents

Synopsis:

on [<modes>]hook [<serial#>] [-|^]<match> { <action> }

Description:

This hook is triggered whenever the HOOK command is issued with the appropriate arguments. Its sole purpose is to be hooked by HOOK. It is useful for avoiding alias recursion.

Parameters:

$* text to hook

Default Action:

If you don't suppress this event, the client will take no action.