# 🧪 Cách Sử Dụng

#### 🎯 Tạo GiftCode:

```bash
/gcode <tên> create
```

Ví dụ:

```bash
/gcode SUMMER2025 create
```

#### ➕ Thêm lệnh vào giftcode:

```bash
/gcode <tên> addcmd <lệnh>
```

Ví dụ:

```bash
/gcode <tên> addcmd SUMMER2025 give %player% diamond 3
```

> `%player%` sẽ được thay bằng tên người chơi khi dùng giftcode.

#### ❌ Xoá lệnh:

```bash
/gcode <tên> removecmd <số thứ tự>
```

#### 📜 Xem thông tin trong giftcode:

```bash
/gcode <tên> show
```

#### ⏰ Đặt thời hạn:

```bash
/gcode <tên> time <số ngày | dd-MM-yyyy>
```

#### 🔒 Giới hạn:

<pre class="language-bash"><code class="lang-bash">/gcode xep &#x3C;tên> <a data-footnote-ref href="#user-content-fn-1">once</a>|<a data-footnote-ref href="#user-content-fn-2">multi</a>
</code></pre>

#### 💬 Phát giftcode:

Bạn có thể phát giftcode trên Discord, Facebook, hoặc trong game bằng cách gửi tên mã. Người chơi sử dụng:

```bash
/giftcode <mã>
```

[^1]: Chỉ một

[^2]: nhiều


---

# 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://kazamis.gitbook.io/kazami-studio/giftcode-system-wiki/giftcode-system/cach-su-dung.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.
