Denizen/0.7/Migration: Difference between revisions

From Citizens Wiki

< Denizen‎ | 0.7

No edit summary
No edit summary
Line 1: Line 1:
==Triggers==
*0.7 introduces several new core triggers: Damage, Proximity, and Location
*Not all triggers are turned on by default for performance reasons. see [[Denizen/In_game_commands]] for more info.
==Commands==
All text-type commands (CHAT, NARRATE, etc) must have the text in quotes. Single or double is fine.
All text-type commands (CHAT, NARRATE, etc) must have the text in quotes. Single or double is fine.


<pre> Example: - CHAT "Use double quotes if your text has an apostrophe, y'all." </pre>
<pre> Example: - CHAT "Use double quotes if your text has an apostrophe, y'all." </pre>


EXECUTE must also have the command and arguments in single- or double- quotes
EXECUTE must also have the command and arguments in single- or double- quotes

Revision as of 07:11, 21 August 2012

Triggers

  • 0.7 introduces several new core triggers: Damage, Proximity, and Location
  • Not all triggers are turned on by default for performance reasons. see Denizen/In_game_commands for more info.

Commands

All text-type commands (CHAT, NARRATE, etc) must have the text in quotes. Single or double is fine.

 Example: - CHAT "Use double quotes if your text has an apostrophe, y'all." 

EXECUTE must also have the command and arguments in single- or double- quotes

 Example: - EXECUTE ASSERVER "warp someplace" 


GIVE and TAKE must specify the quantity with QTY:# or qty:#

 Example: - GIVE DIAMOND QTY:10


RESPAWN no longer exists. Use TELEPORT instead with the DENIZEN argument.

 Example: - TELEPORT DENIZEN 'BOOKMARK:name' 

PLAYERTASK no longer exists. Use a Location Trigger

PRESS no longer exists. Use SWITCH for buttons and levers.

Any command that takes a bookmark must specify BOOKMARK:. Also any command that takes a bookmark can use bookmarks from other Denizens by specifying 'BOOKMARK:Denizen Name:BookmarkName'

If the Denizen name has a space in it the quotes are required
 Example: - TELEPORT DENIZEN 'BOOKMARK:bob jones:bobshouse'