mirror of
https://github.com/onyx-and-iris/q3rcon-ps.git
synced 2026-04-20 03:43:29 +00:00
Compare commits
1 Commits
v0.2.0
...
cb90ad8030
| Author | SHA1 | Date | |
|---|---|---|---|
| cb90ad8030 |
@@ -38,16 +38,14 @@ finally {
|
|||||||
|
|
||||||
## Rcon Class
|
## Rcon Class
|
||||||
|
|
||||||
#### `Send($cmd) | Send($cmd, $timeout)`
|
#### `Send($cmd)`
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
$rcon.Send("mapname")
|
$rcon.Send("mapname")
|
||||||
|
|
||||||
$rcon.Send("g_gametype dm")
|
$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.
|
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...)
|
|
||||||
|
|||||||
Reference in New Issue
Block a user