# Percentage Signs

Percentage signs, `%`, surround some expressions and objects in Skript. However, they are only used in one very specific scenario: inside of strings. The purpose of percentage signs is to tell Skript that what's between them needs to be evaluated because it's a piece of code.

Percentage signs should not be used in code, as Skript already knows to evaluate the code. They should only be used inside of strings.&#x20;

Consider `send "Your name is player's name" to player`. Remember, Skript is just a collection of 0s and 1s. Skript is not sentient, and is unable to think for itself. In this case, Skript will think you want to literally send the message "Your name is player's name". To actually input the player's name, you need to put percentage signs around it so that Skript can tell it's not literal text.

The correct line is `send "Your name is %player's name%" to player`.

Variable names and indices for list variables are also strings, so when using objects in those you'll also need to surround them with parentheses.

{% hint style="info" %}
Don't know what a list variable or index is? Refer to the [List Variables page](https://x8ight.gitbook.io/syntask/storage/variables/list-variables/).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://x8ight.gitbook.io/syntask/strings/special-characters/percentage-signs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
