Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Routine: Player Chat

1cec0ld edited this page Oct 27, 2012 · 4 revisions

Makes the entity say the given string into their chat bar. If 'command.{player}' isn't working, it probably means that the plugin that provides the command is not doing it right. Try this instead.

Syntax

- '{player}.chat': "String Here"

Examples

Damage: #PvP logger's dream
    - 'if damage >= 7':
        - '0'
        - 'command.target': 'spawn'
        - 'target.chat': "Hah, sucker, you won't get me."
Command:
    - 'as &player *message':
        - 'if sender.type.none or sender.haspermission.admin':
            - 'player.chat': '%{message}'
Clone this wiki locally