#what does expected 0 tabs but found 8 spaces mean
1 messages · Page 1 of 1 (latest)
and how the heck do i fix it
send it then?
i forgot
how to make it a cube
trigger:
if player's inventory contains 32 of plain cobblestone:
remove 32 of plain cobblestone from player's inventory
give player shiny cobblestone named "&6&lCompressed Cobblestone"
if player's inventory contains 32 of plain oak wood:
remove 32 of plain oak wood from player's inventory
give player shiny oak wood named "&6&lCompressed Wood"
if player's inventory contains 32 of plain raw copper:
remove 32 of plain raw copper from player's inventory
give player shiny copper block named "&6&lCompressed Copper"
if player's inventory contains 1 of plain dark oak wood:
remove 1 of plain dark oak wood from player's inventory
give player 4 oak wood
if player's inventory contains 1 of smooth stone:
remove 1 of plain smooth stone from player's inventory
give player 4 cobblestone
if player's inventory contains 1 of plain copper block:
remove 1 of plain copper ore from player's inventory
give player 9 raw copper
if player's inventory contains 1 of plain iron block:
remove 1 of plain iron block from player's inventory
give player 9 raw iron
if player's inventory contains 32 of plain raw iron:
remove 32 of plain raw iron from player's inventory
give player shiny iron block named "&6&lCompressed Iron"
if player's inventory contains 32 of plain raw gold:
remove 32 of plain raw gold from player's inventory
give player shiny raw gold block named "&6&lCompressed Gold"
i made it myself
!indent
In skript, you need to maintain consistent indentation, meaning you cannot indent 1 line 5 spaces, and the next 7 spaces. Usually it’s recommended you use tabs, however.
A good rule of thumb is to always indent the subsequent line whenever the previous statement ends with a :, an exception to this is in command statements with items before the trigger such as permission: or aliases:
With conditional statements and loops, any code that is indented within the statement will be run as a part of the statement, other code will not be run within the statement. Here is an example of proper indentation:
can you put it as a .txt?
ok
or .sk?
k
falhas portugues?
sim
ta
Que?
codigo nao estava escrito corretamente
eu vou dar o codigo bem
ok
eu uso shift + enter
k
servidor de caixa?
sim
ok brigado
brigado
vc sabe como posso separar um bagui de outro
quando executo o bagulho, ele simplesmente checa se tem madeira no inventario do jogador
e se tiver dá tudo
tipo ouro, ferro, diamante etc
diz em ingles
ja nao estou em portugal
sim?
tem limite?
uma por vez?
eu sei
ia acontecer
mas posso tentar
consegui arrumar
estou a tentar
ahh
ok bem desculpa