#player
1 messages · Page 1 of 1 (latest)
Could you provide a longer code part? so I can understand what you're trying to do exactly
longer code wont help
its not "useful"
my issue is the message wont send to the variable
How can I help you when I don't know what arg-1 is and how you eaxctly set {sendwho::%player's uuid%}? Go ahead and debug it and see if its a valid player before parsing it
do parsed as a player instead of just parsed as player.
It obviously depends on what the value of {sendwho::%player's uuid%} actually is. If the value is something like "Mvffin", the code will work; if it's something like "dz8967asdf3asdkjfh", or just null, the code will send the message to a player that does not exist.
didnt work
send the value of the variable in chat or something so you can check it's actually parseable.
If nothing happens then the value is likely not set at all
also i got 2 lapis lazuli same name but each has a different lore, how can i make them connect as they wont
like put together
the nbt on both items needs to match before they can stack
how do i make them match?
set {t} to nbt of player's tool, set nbt of player's tool to {t}?
yes
it would probably be nbt compound instead of nbt but i cant remember off the top of my head
is there an event for inv merge or smth
for stacking
can u send an example im consued
confused*
send "&a&lTPA &8» &aYou have sent a teleport request to &f%{sendwho::%player's uuid%}%&a." to player
send "" to {sendwho::%player's uuid%} parsed as a player
send "&a&lTPA &8» &f%player% &awishes to teleport to you." to {sendwho::%player's uuid%} parsed as a player
send "" to {sendwho::%player's uuid%} parsed as a player
send "&aUse &f/tpaccept %player% &ato accept this teleport." to {sendwho::%player's uuid%} parsed as a player
send "" to {sendwho::%player's uuid%} parsed as a player
set {Teleports::%player%%{sendwho::%player's uuid%}%} to "To"
wait 60 seconds
delete {Teleports::%player%%{sendwho::%player's uuid%}%}
``` for tpa yes it it set to the player to tp to
have you sent the variable value to yourself in chat to verify this