Skip to content

Commit e5a07cd

Browse files
sovdeethgitbook-bot
authored andcommitted
GITBOOK-70: change request with no subject merged in GitBook
1 parent 4e099c4 commit e5a07cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

introduction/the-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ command /food:
184184
send "You received %{_item}%!" to player
185185
```
186186

187-
The `%%` tell Skript to pay attention and read the stuff inside as code instead of just as text. This means we can just put `{_item}` in there and "2 steaks" or "2 golden apples" will automatically be sent to the player. `%%` can also be used in variable names, like`{variable::%player's uuid}`, which is a good way to make global variables specific to one player. Global and local variables are explained [here](../core-concepts/variables/global-and-local.md).
187+
The `%%` tell Skript to pay attention and read the stuff inside as code instead of just as text. This means we can just put `{_item}` in there and "2 steaks" or "2 golden apples" will automatically be sent to the player. `%%` can also be used in variable names, like `{variable::%player's uuid%}`, which is a good way to make global variables specific to one player. Global and local variables are explained [here](../core-concepts/variables/global-and-local.md).
188188

189189
{% hint style="warning" %}
190190
However, %% should only ever be used in those two situations: inside a string, or inside a variable. You should not be using it outside of that.

0 commit comments

Comments
 (0)