I had another problem, a little bit harder this time. I want to make the player to be teleported to a warp when the player rightclick a block. The problem is that I need to execute this code that needs a variable inside a variable.
The two variables are these:
- {wm.warp.%warp name%}
- {wm.placedwarp.%targeted block%}
I want to replace %warp name% with the second variable. But I don't know how to do it.
NOTES
code_language.skript:
teleport the player to {wm.warp.%wm.placedwarp%targeted block%%}
- {wm.warp.%warp name%}
- {wm.placedwarp.%targeted block%}
I want to replace %warp name% with the second variable. But I don't know how to do it.
NOTES
- Skript: Last Bensku Fork at the moment
- Minecraft: 1.12.2