<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Копирка]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=16895&amp;type=atom" />
	<updated>2022-01-31T13:28:18Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=16895</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Копирка]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151879#p151879" />
			<content type="html"><![CDATA[<p><strong>qwercv</strong>, ну так пишите регулярку и вытаскивайте что хотите <a href="https://ahk-wiki.ru/regexmatch">https://ahk-wiki.ru/regexmatch</a>.</p>]]></content>
			<author>
				<name><![CDATA[andrey.a.polyakov.b2c]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42228</uri>
			</author>
			<updated>2022-01-31T13:28:18Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151879#p151879</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Копирка]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=151693#p151693" />
			<content type="html"><![CDATA[<p>Помогите написать код для копирования текста начинающегося с определённого слова из чата SAMP. Нужен код, который при нажатии на F2 копировал ответ администратора и вывод мне в чат, но от моего имени.<br />Пример из чата от другого админа:<br />&quot;Администратор name_surname[id] для name2_surname2[id]: &quot;Ответ админа для игрока&quot; &quot;<br />мне надо, чтобы копировал его ответ.</p><div class="codebox"><pre><code>
F2::
way = %A_MyDocuments%\ARIZONA CRMP User Files\SAMP\chatlog.txt
FileDelete, %A_MyDocuments%\ARIZONA CRMP User Files\SAMP\chatlog.txt
Loop
{
FileRead, file, %A_MyDocuments%\ARIZONA CRMP User Files\SAMP\chatlog.txt
IfInString, file, Администратор
{
SendInput, {F6}/pm  | Приятной игры{left 16}
FileDelete, %A_MyDocuments%\ARIZONA CRMP User Files\SAMP\chatlog.txt
}
}
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[qwercv]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=42289</uri>
			</author>
			<updated>2022-01-20T19:07:25Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=151693#p151693</id>
		</entry>
</feed>
