Denizen/0.7/Migration: Difference between revisions
No edit summary |
No edit summary |
||
(13 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
For more up-to-date information and full details on specific features (individual commands or tags, for example), check the [https://meta.denizenscript.com/ Meta Documentation]. | |||
If you want a full tutorial to help get you set up, check out the [https://guide.denizenscript.com/ Beginner's Guide] text website. | |||
If you need quick help, visit our [https://discord.gg/Q6pZGSR Discord group]. | |||
<br><br><br> | |||
<span style="font-family:natalya-alternate-one; font-size:300%; margin-right:-7px; margin-left:-10px;">This wiki is outdated, please view the tutorial videos/guide, meta documentation, or Discord group (all linked above) for up-to-date information!</span> | |||
<br><br><br> | |||
<s>==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/0.7/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 " | <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 | ||
Line 12: | Line 39: | ||
<pre> Example: - GIVE DIAMOND QTY:10</pre> | <pre> Example: - GIVE DIAMOND QTY:10</pre> | ||
RESPAWN no longer exists. Use TELEPORT instead with the DENIZEN argument, this will spawn the Denizen at the specified location. | |||
<pre> Example: - TELEPORT DENIZEN 'BOOKMARK:name' </pre> | |||
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''' | |||
<pre> Example: - TELEPORT DENIZEN 'BOOKMARK:bob jones:bobshouse' </pre></s> |
Latest revision as of 18:58, 3 September 2021
For more up-to-date information and full details on specific features (individual commands or tags, for example), check the Meta Documentation.
If you want a full tutorial to help get you set up, check out the Beginner's Guide text website.
If you need quick help, visit our Discord group.
This wiki is outdated, please view the tutorial videos/guide, meta documentation, or Discord group (all linked above) for up-to-date information!
==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/0.7/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, this will spawn the Denizen at the specified location.
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'