HyperScript
Docs

← All of the Docs HyperEdit

Pyramids and repeating a box HyperEdit

expressionedit pyramid at <location> height <n> with <block>HyperEdit

A pyramid that many blocks high, standing on that place. hollow at the end leaves it empty inside

edit pyramid at player's location height arg.1 with sandstone
expressionedit stack from <location> to <location> <n> times <direction>HyperEdit

Repeat the box that many times, each copy straight after the last: north, south, east, west, up or down. Air is copied too. For a wall, a row of pillars, the floors of a tower

edit stack from {%player%.a} to {%player%.b} arg.1 times east
expressionedit move from <location> to <location> <n> blocks <direction>HyperEdit

Move the box that far, leaving air where it was: a door that opens, a lift, a wall that slides

edit move from {gate.a} to {gate.b} 4 blocks up
expressionedit line from <location> to <location> with <block>HyperEdit

A line of blocks from one place to the other, in whichever direction

edit line from {%player%.a} to {%player%.b} with oak planks
expressionedit overlay from <location> to <location> with <block>HyperEdit

Put one layer of that block on top of whatever is highest in each column of the box: snow on a roof, carpet on a floor

edit overlay from {%player%.a} to {%player%.b} with snow
expressionedit drain at <location> radius <n>HyperEdit

Take away the water and lava within that many blocks that is connected to the place

edit drain at player's location radius arg.1
Guide and examples
command /pyramid <height:number>:
    permission: "edit.use"
    trigger:
        edit pyramid at player's location height arg.1 with sandstone
        send "&a%blocks changed by last edit% blocks placed."

command /tomb:
    permission: "edit.use"
    trigger:
        edit pyramid at player's location height 12 with sandstone hollow

command /opengate:
    permission: "edit.use"
    trigger:
        edit move from {gate.a} to {gate.b} 4 blocks up
        wait 5 seconds
        undo last edit

command /bridge:
    permission: "edit.use"
    trigger:
        edit line from {%player%.a} to {%player%.b} with oak planks

command /snow:
    permission: "edit.use"
    trigger:
        edit overlay from {%player%.a} to {%player%.b} with snow

command /dry <radius:number>:
    permission: "edit.use"
    trigger:
        edit drain at player's location radius arg.1

command /fence <copies:number>:
    permission: "edit.use"
    trigger:
        if {%player%.a} is not set or {%player%.b} is not set:
            send "&cMark the two corners first."
            stop
        edit stack from {%player%.a} to {%player%.b} arg.1 times east
        send "&aRepeated %arg.1% times to the east. /undo takes it back."
SyntaxEffect
edit pyramid at <location> height <n> with <block>A pyramid that many blocks high, standing on that place. hollow at the end leaves it empty inside
edit stack from <location> to <location> <n> times <direction>Repeat the box that many times, each copy straight after the last: north, south, east, west, up or down. Air is copied too. For a wall, a row of pillars, the floors of a tower
edit move from <location> to <location> <n> blocks <direction>Move the box that far, leaving air where it was: a door that opens, a lift, a wall that slides
edit line from <location> to <location> with <block>A line of blocks from one place to the other, in whichever direction
edit overlay from <location> to <location> with <block>Put one layer of that block on top of whatever is highest in each column of the box: snow on a roof, carpet on a floor
edit drain at <location> radius <n>Take away the water and lava within that many blocks that is connected to the place
  • All of these count against max-blocks, and all are taken back by undo last edit.