setChatCriteria

fun setChatCriteria(chatCriteria: Any): ChatTrigger

Sets the chat criteria for matchesChatCriteria. Arguments for the trigger's method can be passed in using ${variable}. Example: setChatCriteria("<${name}> ${message}"); Use ${*} to match a chat message but ignore the pass through.

Return

the trigger object for method chaining

Parameters

chatCriteria

the chat criteria to set

Sources

Link copied to clipboard