PlayerText

Docs Transitions

Key

text


Effect

If a player messages matching words.


Attributes

  • text (string): message it checks for in Regex
  • range (double?, default null): area that it checks for player's message (if unset, worldwide)
  • setAttackTarget (bool, default false): sets the host's AttackTarget to player that gets the message
  • ignoreCase (bool, default true): ignores case of the message
  • ignoreAdmin (bool, default false): ignores messages from admins

Examples

<Transition text="Oryx" ignoreAdmin="true">sleep</Transition>