Compare commits

1 Commits

Author SHA1 Message Date
cb90ad8030 upd README 2026-02-17 21:45:56 +00:00

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...)