Skript Version : Couldn't find it (but recent)
Skript Author: Bensku
Minecraft Version: 1.14.3
I'm trying to create a skript, which open a compass direction menu when you rightclick a compass:
My problem is that Skript keeps telling me this when i load the code: "Can't understand this condition/effect: format slot 0 of player whit beacon named "&3Spawn" to close (navigation.sk, line 9: format slot 0 of player whit beacon named "&3Spawn" to close#then run "nav spawn"')"
Skript Author: Bensku
Minecraft Version: 1.14.3
I'm trying to create a skript, which open a compass direction menu when you rightclick a compass:
Code:
command /nav [<text>]:
description: Pointer une boussole sur un endroit précis
permission: nav
aliases: navigation
trigger:
if arg-1 is not set:
if player's world is "buildworld":
open chest with 1 rows named "&e&lNavigation" to player
format slot 0 of player whit beacon named "&3Spawn" to close then run "nav spawn"
if arg-1 is "spawn":
if player's world is "buildworld":
set player's compass target to -241, 68, 68
set action bar of player to "&eBoussole dirigée vers le spawn"
on right click holding a compass:
if player has permission "nav":
make player execute command "/nav"
My problem is that Skript keeps telling me this when i load the code: "Can't understand this condition/effect: format slot 0 of player whit beacon named "&3Spawn" to close (navigation.sk, line 9: format slot 0 of player whit beacon named "&3Spawn" to close#then run "nav spawn"')"