Denizen/Commands: Difference between revisions

From Citizens Wiki
No edit summary
No edit summary
Line 9: Line 9:
- announce "The skeleton invasion has ended."
- announce "The skeleton invasion has ended."
- announce "<player.name> has joined the blue team!"
- announce "<player.name> has joined the blue team!"
</pre>
}}
{{Denizen Command
|assignment
|[ {set} | remove ] ( "script:name" )
|Set or remove an assignment for an NPC.
'''Examples'''
<pre>
- assignment remove
- assignment set "script:Evil Wizard"
</pre>
</pre>
}}
}}

Revision as of 14:46, 9 February 2013

====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" )