# JGS Dynamic Chat

<figure><img src="https://1611879725-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCKVBEKuJIkLIMvWU2gUY%2Fuploads%2FSYJHYA7GkwyMK1dl0sLL%2FMiniatura.png?alt=media&#x26;token=1ff3925b-9c12-4618-80df-f747e948a54f" alt=""><figcaption></figcaption></figure>

Using the documentation on this website, you can navigate between the different sections of the script. Among them, you will find the dependencies, the installation guide and the chat settings.

<details>

<summary>Default Command List</summary>

* **/style**\
  \&#xNAN;*Change your current chat style.*
* **/styleAdd**\
  \&#xNAN;*Add a new chat style to the available list.*
* **/styleTemplate**\
  \&#xNAN;*Copy a pre-defined chat style template.*
* **/me**\
  \&#xNAN;*Perform an action or describe something you’re doing.*
* **/pme**\
  \&#xNAN;*Perform an action or describe something you're doing,* only visible for the selected ID.
* **/do**\
  \&#xNAN;*Describe an action or situation happening in the environment.*
* **/pdo**\
  \&#xNAN;*Describe an action or situation happening in the environment,* only visible for the selected ID.
* **/oop**\
  \&#xNAN;*Send an out-of-character message to the chat.*
* **/msg**\
  \&#xNAN;*Send a private message to a specific player.*
* **/pid**\
  Request a player's ID via global chat.
* **/dices**\
  \&#xNAN;*Roll a dice to generate a random number.*
* **/try**\
  \&#xNAN;*Attempt an action or check success of an action with a probability.*
* **/r**\
  Talk through the factional chat between Police, Sheriff and Ambulance jobs.
* **/rf**\
  Speak through the factional chat that Cops and Sheriffs see.
* **/rff**\
  Speak through the factional chat that Cops, Ambulances and Sheriffs see.
* **\[admin] /inv**\
  Alternate being invisible or not.
* **\[admin] /sc**\
  Talk to the administrators on duty within the game.
* **\[admin] /service**\
  Log in or log out of the administrator service.

</details>

{% hint style="info" %}
I would like to remind that any kind of problem or question the customer may have can open a ticket in our [official discord](https://discord.gg/fnuDPUMz4P).
{% endhint %}

***

Below you will find direct links to the different sections of the documentation.

{% content-ref url="chat/dependencies" %}
[dependencies](https://jgs.gitbook.io/jgsdev/docs/chat/dependencies)
{% endcontent-ref %}

{% content-ref url="chat/installation" %}
[installation](https://jgs.gitbook.io/jgsdev/docs/chat/installation)
{% endcontent-ref %}

{% content-ref url="chat/configuration" %}
[configuration](https://jgs.gitbook.io/jgsdev/docs/chat/configuration)
{% endcontent-ref %}


---

# 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://jgs.gitbook.io/jgsdev/docs/chat.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.
