#help please
1 messages · Page 1 of 1 (latest)
:technologist: 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
```
you need to indent the line after a colon to specify what lines are under the colon line
ex.
if player is holding dirt:
send "1" to player
send "2" to player```
in this skript, it's not clear if both messages will send when the player is holding dirt or only one of the messages
so, you have to indent to specify:
```on chat:
if player is holding dirt:
send "1" to player
send "2" to player```
now the skript knows that message 1 will be sent if the player is holding dirt and message 2 is always sent