Can't Simple Do it.
Can someone help me?
I need it to spawn on a specifi x,y,z
Can someone help me?
I need it to spawn on a specifi x,y,z
Thank you!Code:set {_loc} to location at 0, 150, 0 of the world "world" set block at {_loc} to stone
Is it possible if i do /setblockchestCode:set {_loc} to location at 0, 150, 0 of the world "world" set block at {_loc} to stone
Thank you!
I'll try to do this.[DOUBLEPOST=1485517110][/DOUBLEPOST]
Is it possible if i do /setblockchest
and clikc a chest to be the {_loc}?
Also if it's possilbe, can i make the {_loc} block invisible if a variable is true?
command /setblockchest:
permission: skript.op
trigger:
give golden axe named "&bBlockChest WAND"
On rightclick:
if player's tools is golden axe named "&bBlockChest WAND":
if player has permission "skript.op":
if clicked block is set:
set {chestlocation} to location of clicked block
send "&bBlockChest&f: %{chestlocation}%"
Can i do this with multiple Blocks?Code:command /setblockchest: permission: skript.op trigger: give golden axe named "&bBlockChest WAND" On rightclick: if player's tools is golden axe named "&bBlockChest WAND": if player has permission "skript.op": if clicked block is set: set {chestlocation} to location of clicked block send "&bBlockChest&f: %{chestlocation}%"
Can i do this with multiple Blocks?
command /setblockchest:
permission: skript.op
trigger:
give golden axe named "&bBlockChest WAND"
On rightclick:
if player's tools is golden axe named "&bBlockChest WAND":
if player has permission "skript.op":
if clicked block is set:
add location of clicked block to {chestblocks::*}
send "&aBlockChest&f: %location of clicked block%"
On leftclick:
if player's tools is golden axe named "&bBlockChest WAND":
if player has permission "skript.op":
if clicked block is set:
set {_loc} to location of clicked block
loop {chestblocks::*}:
if {chestblocks::%loop-index%} is {_loc}:
delete {chestblocks::%loop-index%}
send "&cBlockChest&f: %location of clicked block%"
left click option is for multiple blocksCode:command /setblockchest: permission: skript.op trigger: give golden axe named "&bBlockChest WAND" On rightclick: if player's tools is golden axe named "&bBlockChest WAND": if player has permission "skript.op": if clicked block is set: add location of clicked block to {chestblocks::*} send "&aBlockChest&f: %location of clicked block%" On leftclick: if player's tools is golden axe named "&bBlockChest WAND": if player has permission "skript.op": if clicked block is set: set {_loc} to location of clicked block loop {chestblocks::*}: if {chestblocks::%loop-index%} is {_loc}: delete {chestblocks::%loop-index%} send "&cBlockChest&f: %location of clicked block%"
Thank you so much.[DOUBLEPOST=1485518454][/DOUBLEPOST]Right click add blocks and left click removes block
Wait? Add Blocks? You mean sets the variable to a block, right?Right click add blocks and left click removes block
Okay, cool. Thanks. I'll try to get back if anything happens.Adds the location of the block to a variable with a self-incrementing suffix
