#Hey i dont know why its not working

1 messages · Page 1 of 1 (latest)

astral valeBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

tiny duneBOT
#
execute store result storage minecraft:chest varX int 1 run random value -1000..1000
execute store result storage minecraft:chest varZ int 1 run random value -1000..1000
execute store result storage minecraft:chest varY int 1 run random value -128..256
say The chest has been placed!
$execute positioned 0 0 0 run summon marker ~$(varX) ~$(varY) ~$(varZ) {tag:["chest"]}
#
execute store result storage minecraft:chest varX int 1 run random value -1000..1000
execute store result storage minecraft:chest varZ int 1 run random value -1000..1000
execute store result storage minecraft:chest varY int 1 run random value -128..256
say The chest has been placed!
$execute positioned 0 0 0 run summon marker ~$(varX) ~$(varY) ~$(varZ) {tag:["chest"]}
proper phoenix
#

It says "functions need arguments

simple jolt
#

Where's the command that calls the function?

proper phoenix
proper phoenix
#

but i did positioned 0 0 0

#

@twilit spade can you help me T-T

#

idk why its not running i did exactly what HeDeAn said

twilit spade
#

What

#

It seems like you're storing things to storage in the same function that is trying to use that storage in a macro. You can't do that

#

You need to store them to a storage, then run a new function with that storage which then contains the macro command

proper phoenix
#

no @twilit spade it still dont work

astral valeBOT
# astral vale <@&1201956957406109788>

<@&1166082198152159386> <@&1202694677766348840>

🙇 Helpers Arise!

Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)

tiny duneBOT
#
scoreboard players set #chestEvent holder 1

execute store result storage minecraft:chest varX int 1 run random value -1000..1000
execute store result storage minecraft:chest varZ int 1 run random value -1000..1000
execute store result storage minecraft:chest varY int 1 run random value -128..256
function helpful:placechestrandom
north roost
#

You have to give the storage to the function to use for the macro arguments

proper phoenix
north roost
#

so it works now?

tiny duneBOT
#

then this went haywire ```ansi
execute if score #chestEvent holder matches 1 if score #sec holder matches -1 at @n[type=marker,tag=chest] run setblock ~ ~ ~ oak_sign{back_text:{color:"black",has_glowing_text:1b,messages:["HAHAHHAHAHHAHAHA",{"text":"CHEST WAS HERE","click_event":{"action":"run_command","command":"spawn"}},"",""]},front_text:{color:"black",has_glowing_text:1b,messages:[["HAHAHHAHAHHAHAHA"],{"text":"CHEST WAS HERE","click_event":{"action":"run_command","command":"spawn"}},"",""]}}

Idk why buts its saying missing """
proper phoenix
#

and its saying a function is missing

#

im so lost

#

Wait @tardy rapids how do i load a chunk at specific coords?

tardy rapids
#

not sure why you're pinging me, but you'd usually use forceload for that