#player

1 messages · Page 1 of 1 (latest)

winged seal
#

if i do set {sendwho::%player's uuid%} to arg 1 for example
now if i do send "&a&lTPA &8» &f%player% &awishes to teleport to you." to {sendwho::%player's uuid%} parsed as player some where else it doesn't send the message

distant marsh
#

soo if u go

#

t

raw river
#

Could you provide a longer code part? so I can understand what you're trying to do exactly

winged seal
#

longer code wont help

#

its not "useful"

#

my issue is the message wont send to the variable

raw river
#

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

fierce hare
#

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.

fierce hare
#

If nothing happens then the value is likely not set at all

winged seal
#

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

fierce hare
winged seal
#

how do i make them match?

#

set {t} to nbt of player's tool, set nbt of player's tool to {t}?

fierce hare
#

yes

#

it would probably be nbt compound instead of nbt but i cant remember off the top of my head

winged seal
#

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
fierce hare