Date: 2015/10/29 03:05:07 UTC-07:00
Type: Denizen Script
Home_Command:
type: command
name: home
aliases:
- mgw
usage: /home <<>arguments<>>
description: Save location as home or teleport home.
permission: home.command
allowed help:
- determine <player.has_permission[home.command]||false>
tab complete:
- if <player.has_permission[home.command].not||true> queue clear
- determine <li@reset|remove>
script:
# here
- if <context.args.size.is[LESS].than[1]||null> {
- if <player.has_permission[home.command].not||true> {
- narrate "<red>Sorry, you don't have permission to use this command."
}
else {
- if <server.list_notables.parse[notable_name].contains[<player.name>-home].not> {
- note <player.location.block> "as:<player.name>-home"
}
else {
- teleport <player> "l@<player.name>-home"
}
}
}
else {