#Skript /help GUI

1 messages · Page 1 of 1 (latest)

quaint mural
#

Code:
command /help:
trigger:
open chest inventory with 3 rows named "&3&l Tutorial" to player
wait 1 tick
set slot 0,1,2,3,4,5,6,7,8,9,10,12,14,16,17,18,19,20,21,22,23,24,25 and 26 of player's current inventory to black stained glass pane named " "
set slot 11 of player's current inventory to dirt named "&cRules"

Problem:
indentation error: expected 8 spaces but found 2 tabs

Summary:
The dirt wont show in the GUI
any legend help?

prisma timber
#

obviously it's a syntax error caused by an invalid indentation

high light
#
    trigger:
        set {_gui1} to a new chest inventory with 3 row with name "&3&l           Tutorial" 
        set slot 0,1,2,3,4,5,6,7,8,9,10,12,14,16,17,18,19,20,21,22,23,24,25 and 26 of {_gui1} to black stained glass pane named " " 
        set slot 11 of {_gui1} to dirt named "&cRules"
        open {_gui1} to player```
@quaint mural test this
high light
#

better code

noble canyon
#

you dont need to wait a tick before opening the gui

high light
#

mh

#

yeah good point

hasty cradle
#

🥄

#

The simpler the error the more important they do it themselves

hasty cradle
quaint mural
quaint mural
#

thankyou everyone hopefully this works

high light
#

np

rustic lion
#

Visual studio code is a good software!

quaint mural
hasty cradle
hasty cradle
hasty cradle
high light
quaint mural
quaint mural
#

Sorry I’m new to skript

hasty cradle
#

look at tutorials and the docs

#

sovdes github is perfect

hasty cradle
#

it will override