# チャットパレット

## 同じ文章を毎回チャット欄に入力するのは大変！

長文や複雑なコマンドを毎回チャット欄に打ち込むのは大変ですが、チャットパレットを用いることで簡略化できます。セッション中に使用するセリフや[ダイスロール](/pl-tutorial/room-chat/dice-roll.md)のコマンドなどをチャットパレットに登録しておけば、すぐに呼び出すことができるのです。

***

### チャットパレットへの登録

以下の手順でチャットパレットにセリフやコマンドを登録することができます。

1. [キャラクター編集画面](/pl-tutorial/character-edit/basic.md#basic-parameter)を開き、下へスクロールする。
2. チャットパレット欄に登録したいテキストやコマンドを入力する。

改行すると、別のセリフ／コマンドとして登録されます。

例えば、`1d100<=50 【パンチ】`、`1d100<=25 【キック】`という2つのコマンドをチャットパレットに登録するとします。

<figure><img src="/files/2CCzvqg3DqcdmjT3PBBc" alt="" width="563"><figcaption></figcaption></figure>

このように記入すると、それぞれ別のコマンドとして登録できます。

***

### チャットパレットの利用 <a href="#use-chat-pallet" id="use-chat-pallet"></a>

チャットパレットを表示するには、[キャラクター選択](/pl-tutorial/room-chat.md)、チャット欄の <img src="/files/-MS3nVeJnN-dx2lXtGV7" alt="" data-size="original">**チャットパレットボタン**をクリックしてください。

<figure><img src="/files/K62bWwNYGCtBY2HTaKcw" alt="" width="410"><figcaption></figcaption></figure>

登録しておいたセリフやコマンドが画面中央に表示されます。

<figure><img src="/files/4ZrQnTpi8Zd5IqI9ftlJ" alt="" width="368"><figcaption></figcaption></figure>

このウインドウのヘッダー(上部のチャットパレットの表記付近)をドラッグすると、ウインドウの位置を移動させることができます。

{% hint style="info" %}

#### チャット欄の入力アシスト機能を使う

チャットパレットウィンドウを表示せずにチャットパレットに入力したセリフやコマンドを呼び出すこともできます。

方法は以下の通りです。

1. チャット欄にセリフやコマンドの一部を打ち込む
2. 矢印キーの **\[↑] \[↓]**&#x3067;送信したいメッセージを選択
3. **\[Enter] キー**を押す(メッセージが入力されます)
4. 再&#x5EA6;**\[Enter] キー**を押す(メッセージが送信されます)

例えば上記[チャットパレットへの登録](#chattoparettoheno)のとおり操作していた場合、チャット欄に直接`パンチ`と入力すると、`1d100<=50 【パンチ】`と表示されます。この状態から矢印キーの **\[↑]** を押した後&#x306B;**\[Enter] キー**を押すと、チャット欄に先ほどのコマンドが入力されます。再度 **\[Enter] キー**を押すとコマンドが送信され、ダイスロールができます。
{% 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://docs.ccfolia.com/pl-tutorial/character-edit/chat-pallet.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.
