global vkid := "2000000049"
global token := "*Цензура*"
global proxy := "
https://vk-api-proxy.xtrafrancyz.net/_/"
vk_send(textvk)
{
text := RegExReplace(text, "%", "%25") ; first string
text := RegExReplace(text, "\+", "%2B")
text := RegExReplace(text, "#", "%23")
text := RegExReplace(text, "&", "%26")
text := RegExReplace(text, "`n", "%0A")
HTTP := ComObjCreate("WinHTTP.WinHTTPRequest.5.1")
HTTP.Open("GET", proxy "api.vk.com/method/messages.send?random_id=0&peer_id=" vkid "&message=" textvk "&v=5.52&access_token=" token)
try
HTTP.Send()
}
vk_send("ок")
return