Denizen/Commands

From Citizens Wiki

< Denizen

Revision as of 15:22, 9 February 2013 by Davidcernat (talk | contribs)

====announce

==

announce ["announcement text"]
Displays a message that every player on the server can read.


Examples

- announce "The skeleton invasion has ended."
- announce "<player.name> has joined the blue team!"


====assignment

==

assignment [{set}|remove] ("script:name")
Set or remove an assignment for an NPC.


Examples

- assignment set "script:Evil Wizard"
- assignment remove


====attack

==

attack (stop)
Make the NPC attack or stop attacking the player.


Examples

- attack
- attack stop


====chair

==

chair (sit|stand) (location:x,y,z,world)
Make the NPC sit or stand at a location.


Examples

- sit "location:300,65,300,world"
- sit "<anchor:Chair>"
- stand