Added in 1.9.2

/renwin <@oldname> <@newname> [topic]

Allows you to change the name of an existing window to a different one, and an optional topic can be specified.

Parameters

<@oldname> - Current window name.
<@oldname> - New window name.
[topic] - Window topic/title.

Example

;Open a window.
/window -e @test1

;Rename @test1 to @test and add topic "Hello world".
/renwin @test1 @test2 Hello World