Compare commits

..

No commits in common. "0e5ee0e52309fccf669d47e74b1229c5cfd4f468" and "b712768f9764dcbd686feabb72d589cd80d1d0fc" have entirely different histories.

View File

@ -35,19 +35,3 @@ finally {
Disconnect-Rcon -rcon $rcon Disconnect-Rcon -rcon $rcon
} }
``` ```
## Rcon Class
#### `Send($cmd) | Send($cmd, $timeout)`
```powershell
$rcon.Send("mapname")
$rcon.Send("g_gametype dm")
$rcon.Send("map_rotate", 2000)
```
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...)