Code Blocks
To make it easier for others to read your code, it is asked that you send it in a code block. On Discord, you can simply send this:
```
Code here
```
1 messages · Page 1 of 1 (latest)
Code Blocks
To make it easier for others to read your code, it is asked that you send it in a code block. On Discord, you can simply send this:
```
Code here
```
command /start:
aliases:/sta,/star
executable by: players
permission:start.command
cooldown: 3 minutes
cooldown message: You need to wait 3 minutes to use this
cooldown bypass: operator.permission.node
trigger:
give unbreakable wooden sword to player
add unbreakable wooden pickaxe to player
add unbreakable leather cap to player
add unbreakable leather chestplate to player
add unbreakable leather pants to player
add unbreakable leather boots to player
Errors on lines - 9, 10, 11, 12, 13, 14
Error on those lines are that. "(__) is not an entry (like 'name : value')
Sombody Please Help.```
please put just ur code in the code blocks
!indent
Indentation in Skript
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: