on join:
set slot 0 of player to paper named "&8» &bServer&fVælger &8«"
on rightclick with a paper:
if name of tool of player is "&8» &bServer&fVælger &8«":
wait 3 ticks
open chest with 3 row named "&bServer&fVælger" to player
format slot 0 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 1 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 2 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 3 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 4 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 5 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 6 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 7 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 8 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 9 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 10 of player with 1 101 named "&2Prison" to run [execute player command "/server prison"]
format slot 13 of player with 1 Grass named "&2Survival" to run [execute player command "/server survival"]
There is no errors in script but when i try to use it in game its saying unknown command when i press on the grass and the iron bar
im using serverswitcher to switch between servers
set slot 0 of player to paper named "&8» &bServer&fVælger &8«"
on rightclick with a paper:
if name of tool of player is "&8» &bServer&fVælger &8«":
wait 3 ticks
open chest with 3 row named "&bServer&fVælger" to player
format slot 0 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 1 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 2 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 3 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 4 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 5 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 6 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 7 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 8 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 9 of player with 1 Red Stained Glass Pane named "&4Ingen Ting" to be unstealable
format slot 10 of player with 1 101 named "&2Prison" to run [execute player command "/server prison"]
format slot 13 of player with 1 Grass named "&2Survival" to run [execute player command "/server survival"]
There is no errors in script but when i try to use it in game its saying unknown command when i press on the grass and the iron bar
im using serverswitcher to switch between servers