diff --git a/examples/gui.ps1 b/examples/gui.ps1 index a7695d6..87ed5fb 100644 --- a/examples/gui.ps1 +++ b/examples/gui.ps1 @@ -90,7 +90,7 @@ Function Send-RconCommand() { $resp = $rcon.Send($line) } - if ($resp -match '^["](?[a-z_]+)["]\sis[:]\s["](?[A-Za-z_]+)\^7["]\s') { + if ($resp -match '^["](?[a-z_]+)["]\sis[:]\s["](?.*?)\^7["]\s') { $RLbl.Text = $Matches.name + ": " + $Matches.value } $OTB.Text = ""