mirror of
https://github.com/onyx-and-iris/q3rcon-ps.git
synced 2026-02-21 00:59:11 +00:00
upd README
This commit is contained in:
parent
b6fdf021b9
commit
cb90ad8030
@ -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...)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user