> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# rconsolename

> 使用 Windows console title update 设置当前 Windows console window 的 title。第一个 argument 必须是 string，并且会在 console existence check 之前检查。如果 string check 成功后不存在 console window，该调用会直接返回且不执行任何操作。

<div className="real-function-page">
  ```lua theme={null}
  rconsolename(text: string)
  ```

  ## 别名

  * `consolename`
  * `rconsolesettitle`
  * `consolesettitle`

  ## 参数

  <ParamField path={"text"} type={"string"} required>
    操作使用的文本值。
  </ParamField>

  ## 示例

  Set the current Windows console window title.

  ```lua theme={null}
  rconsolecreate()
  rconsolename("Real Console")
  ```
</div>
