How do I rename an item in someone's inventory even if they aren't holding it?
It's as simple as it says.
every 4 seconds:
if {gamestatus} is true:
loop all players:
{speedrunner} is a player:
loop-player isn't {speedrunner}:
world of loop-player is world of {speedrunner}:
{speedrunner} is online:
loop-player is holding compass:
set name of loop-player's tool to "&3"
wait a tick
set name of loop-player's tool to "&cPing"
set the loop-player's compass target to location of {speedrunner}
every tick:
if {gamestatus} is true:
loop all players:
loop-player is not holding compass:
###here i want to rename any compass in inventory with "Compass"
Minecraft version 1.16.5
Skript: 2.5.3
Addons:
Skellet
skRayFall
SkStuff
It's as simple as it says.
every 4 seconds:
if {gamestatus} is true:
loop all players:
{speedrunner} is a player:
loop-player isn't {speedrunner}:
world of loop-player is world of {speedrunner}:
{speedrunner} is online:
loop-player is holding compass:
set name of loop-player's tool to "&3"
wait a tick
set name of loop-player's tool to "&cPing"
set the loop-player's compass target to location of {speedrunner}
every tick:
if {gamestatus} is true:
loop all players:
loop-player is not holding compass:
###here i want to rename any compass in inventory with "Compass"
Minecraft version 1.16.5
Skript: 2.5.3
Addons:
Skellet
skRayFall
SkStuff
Last edited: