I'm trying to show the value of a variable in a message like:
{var.player} is 1
message "player is {var.player}" and get in the game "Player is 1"
I want to make a message show a variable but the message shows the variable name instead. I don't know why. Here one of the failing code:
The message I get is this:
[WarpManager] Sucessfully teleported {wm.tpreq.player.Antikore} to you
Any suggestion of how I can do this would be very welcome
NOTE: My Minecraft name is Antikore
{var.player} is 1
message "player is {var.player}" and get in the game "Player is 1"
I want to make a message show a variable but the message shows the variable name instead. I don't know why. Here one of the failing code:
code_language.skript:
message "<gold>[<yellow>WarpManager<gold>] <lime>Sucessfully teleported<white> {wm.tpreq.player.%player%} <lime>to <white>you"
The message I get is this:
[WarpManager] Sucessfully teleported {wm.tpreq.player.Antikore} to you
Any suggestion of how I can do this would be very welcome
NOTE: My Minecraft name is Antikore