<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Копирование чат-лога]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=17874</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17874&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Копирование чат-лога».]]></description>
		<lastBuildDate>Tue, 18 Jul 2023 09:25:04 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[AHK: Копирование чат-лога]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=158791#p158791</link>
			<description><![CDATA[<p>Здравствуйте, нужно переработать код, чтобы копировало результат с этих квадратных скобочек. Сам этого сделать не могу. (Немного не хватает ума)<br />(RegExMatch(&quot;`n&quot; Str &quot;`n&quot;, &quot;i).*\n\[\d+:\d+:\d+]\s*\ .*?\[В этих скобках] : \s*(/`*.*?(\d+)\s.*?)\n&quot;, Match))</p><div class="codebox"><pre><code>
#IfWinActive, ahk_exe gta_sa.exe
#SingleInstance Force 
#NoEnv

ListLines Off 
SetBatchLines -1

chatlog := A_MyDocuments &quot;\RADMIR CRMP User Files\SAMP\chatlog.txt&quot;
;FileDelete, %chatlog%


NumPad4:: 
FileRead, Str, %chatlog%
StringReplace, Str, Str, `r`n, `n, 1
StringReplace, Str, Str, `r, `n, 1

RegExMatch(&quot;`n&quot; Str &quot;`n&quot;, &quot;i).*\n\[\d+:\d+:\d+]\s*\ .*?\[.*?] : \s*(/`*.*?(\d+)\s.*?)\n&quot;, Match) 
SendMessage, 0x50,, 0x4190419,, A
SendInput,{F6}/sp %match2%{Enter}
Return
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (klimentijtrohin)]]></author>
			<pubDate>Tue, 18 Jul 2023 09:25:04 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=158791#p158791</guid>
		</item>
	</channel>
</rss>
