registerActionBar

open fun registerActionBar(method: Any): ChatTrigger

Registers a new trigger that runs before an action bar message is received.

Passes through multiple arguments:

  • Any number of chat criteria variables

  • The chat event, which can be cancelled

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard