Выложу и свой вариантик тогда
!F4::
try {
http := ComObjCreate("WinHttp.WinHttpRequest.5.1")
http.Open("GET", "https://classic.rp-gameworld.ru/online", false)
http.Send()
http.WaitForResponse()
response := http.ResponseText()
RegExReplace(response, "National Guard of San Andreas",, armyOnline, -1, 1)
RegExReplace(response, "Los Santos Police Department",, lspdOnline, -1, 1)
RegExReplace(response, "Federal Bureau of Investigation",, fbiOnline, -1, 1)
total := armyOnline + lspdOnline + fbiOnline
SendInput, {F6}NGSA: %armyOnline% | LSPD: %lspdOnline% | FBI: %fbiOnline% | Total: %total%
} catch e {
SendInput, {F6}Something went wrong
}
return