upd README

This commit is contained in:
onyx-and-iris 2026-02-17 21:45:56 +00:00
parent b6fdf021b9
commit cb90ad8030

View File

@ -38,16 +38,14 @@ finally {
## Rcon Class
#### `Send($cmd) | Send($cmd, $timeout)`
#### `Send($cmd)`
```powershell
$rcon.Send("mapname")
$rcon.Send("g_gametype dm")
$rcon.Send("map_rotate", 2000)
$rcon.Send("map_rotate")
```
If the command returns a response it will be printed to the console.
Pass an optional timeout (ms) for commands that return responses in fragments. (status, map_rotate etc...)