hookPrint

Hook a print event.

The list of text events can be found in Settings -> Advanced -> Text Events...; the list at the bottom of the window describes the contents of the words callback parameter for a particular event.

  1. void hookPrint(char[] name, EatMode function(in char[][] words) callback, CommandPriority priority)
    void
    hookPrint
  2. void hookPrint(char[] name, EatMode delegate(in char[][] words) callback, CommandPriority priority)

Parameters

name char[]

_name of event

callback EatMode function
(
in char[][] words
)

_callback function or delegate

priority CommandPriority

priority of this hook. Should be CommandPriority.normal

Meta