register Chat
Registers a new trigger that runs before a chat message is received.
Passes through multiple arguments:
Any number of chat criteria variables
The chat event, which can be cancelled
Available modifications:
ChatTrigger.triggerIfCanceled Sets if triggered if event is already cancelled
ChatTrigger.setChatCriteria Sets the chat criteria
ChatTrigger.setParameter Sets the chat parameter
Trigger.setPriority Sets the priority
Return
The trigger for additional modification
Parameters
method
The method to call when the event is fired