Paste #18789: test

Date: 2015/07/28 20:46:42 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


dskill:
    type: command
    name: skill
    description: same as /class skill
    usage: /skill
    script:
    - execute as_player "class skill"
dbar:
    type: command
    name: bar
    description: same as /class bar
    usage: /bar
    script:
    - execute as_player "class bar"
dattr:
    type: command
    name: attr
    description: same as /class attr
    usage: /attr
    script:
    - execute as_player "class attr"
doptions:
    type: command
    name: options
    description: same as /class options
    usage: /options
    script:
    - execute as_player "class options"
skyleave:
    type: command
    name: skyleave
    description: Leave SkyGrid Map
    usage: /skyleave
    script:
    - if <player.location.world.name.contains[<player>]>
    {
        - execute as_op "save-all"
        - ~execute as_op "mvtp lobby"
        - execute as_op "mv unload <player>"
    }
    else
    {
        - narrate "<&4>You are not in your SkyGrid world"
    }