<?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=14292&amp;type=atom" />
	<updated>2018-11-02T03:51:04Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=14292</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Текстовый файл считывается не с конца, а сначала.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=129600#p129600" />
			<content type="html"><![CDATA[<p><span style="color: green">Тема перенесена.</span></p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2018-11-02T03:51:04Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=129600#p129600</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Текстовый файл считывается не с конца, а сначала.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=129589#p129589" />
			<content type="html"><![CDATA[<p>Конечно нельзя.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-11-01T19:53:24Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=129589#p129589</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Текстовый файл считывается не с конца, а сначала.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=129588#p129588" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />То есть сюда писать нельзя темы, относящиеся к играм?</p>]]></content>
			<author>
				<name><![CDATA[besmojio4b]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39527</uri>
			</author>
			<updated>2018-11-01T19:49:33Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=129588#p129588</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Текстовый файл считывается не с конца, а сначала.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=129587#p129587" />
			<content type="html"><![CDATA[<p>Что в смысле? Можете найти ветку по играм?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-11-01T19:45:53Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=129587#p129587</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Текстовый файл считывается не с конца, а сначала.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=129586#p129586" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong><br />В смысле?</p>]]></content>
			<author>
				<name><![CDATA[besmojio4b]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39527</uri>
			</author>
			<updated>2018-11-01T19:45:08Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=129586#p129586</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Текстовый файл считывается не с конца, а сначала.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=129585#p129585" />
			<content type="html"><![CDATA[<p>А где у нас ветка по играм?</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-11-01T19:43:15Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=129585#p129585</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Текстовый файл считывается не с конца, а сначала.]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=129584#p129584" />
			<content type="html"><![CDATA[<p>Имеется вот такой вот код:<br /></p><div class="codebox"><pre><code>#Include, Udf.ahk
File := % A_MyDocuments &quot;\GTA San Andreas User Files\SAMP\chatlog.txt&quot;
player := getClosestPlayerId()
:?:/lames::
Loop, Read, %File%
if(player != &quot;-1&quot;)
{
RegExMatch(A_LoopReadLine, &quot;Жалоба от [^/]* \[ID (\d+)[^/]* \Q&quot; player &quot;\E&quot;, rid)
sleep, 100
SendInput, {F6}/ames %rid1%{space}
}
else
{
addChatMessageEx(&quot;{FF0000}&quot;, &quot;Ошибка: {E6E6FA}На текущего игрока не поступало жалоб.&quot;)
}
return</code></pre></div><p>Работает всё не так, как хотелось бы, он должен найти ближайшего игрока, а именно его ид, и проверить в чатлоге, есть ли жалоба на этого игрока.<br />Так вот, работает всё как надо, но реагирует только на строки, которые вначале текстового файла, а нужно, чтобы считывалось с конца.</p>]]></content>
			<author>
				<name><![CDATA[besmojio4b]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=39527</uri>
			</author>
			<updated>2018-11-01T19:37:41Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=129584#p129584</id>
		</entry>
</feed>
