I can't seem to get this to work:
code_language.skript:
command /test:
trigger:
set {_block} to targeted block
#here it is the block it is supposed to be
set block at {_block} to gold block
#now {_block} is gold block but I want it to stay the block before it was changed to gold
wait 1 second
set block at {_block} to {_block