<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; Чтение последний строки]]></title>
	<link rel="self" href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=11375&amp;type=atom" />
	<updated>2016-03-02T18:41:01Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=11375</id>
		<entry>
			<title type="html"><![CDATA[Re: Чтение последний строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=101592#p101592" />
			<content type="html"><![CDATA[<p>Нажимаешь ок, вводишь что то новое и должен появится MsgBox только с новым содержимым...</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2016-03-02T18:41:01Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=101592#p101592</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Чтение последний строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=101591#p101591" />
			<content type="html"><![CDATA[<p>Вот что вышло:<br /><span class="postimg"><img src="http://i.imgur.com/3IV1l5k.png" alt="http://i.imgur.com/3IV1l5k.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[RellaX]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33733</uri>
			</author>
			<updated>2016-03-02T18:39:23Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=101591#p101591</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Чтение последний строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=101590#p101590" />
			<content type="html"><![CDATA[<p>Новый текст в моём варианте появляется?</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2016-03-02T18:30:45Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=101590#p101590</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Чтение последний строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=101589#p101589" />
			<content type="html"><![CDATA[<p>Можно полный код с кодом который я дал пожалуйста.</p>]]></content>
			<author>
				<name><![CDATA[RellaX]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33733</uri>
			</author>
			<updated>2016-03-02T18:29:39Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=101589#p101589</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Чтение последний строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=101588#p101588" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>#SingleInstance Force
#NoEnv

PathLog := A_MyDocuments &quot;\GTA San Andreas User Files\SAMP\chatlog.txt&quot;
File := FileOpen(PathLog, &quot;r&quot;), File.Pos := 0

Loop  { 
	Sleep 300
	If ((NewText := File.Read()) = &quot;&quot;)
		Continue 
	File.Pos := File.Length
	MsgBox % NewText
} </code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2016-03-02T18:25:05Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=101588#p101588</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Чтение последний строки]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=101587#p101587" />
			<content type="html"><![CDATA[<p>Приветствую.<br />Вот ломаю голову, не понимаю как сделать так, чтобы мой скрипт читал заданные предложения, которые появились в чате последними, сейчас у меня он удаляет чат-лог, но мне бы хотелось чтобы он этого не делал. Буду очень благодарен если сможете помочь.</p><div class="codebox"><pre><code>
file := A_MyDocuments &quot;\GTA San Andreas User Files\SAMP\chatlog.txt&quot;

Numpad1::
sendinput, {F6}/tazer{enter}
sleep 1000
fileread, read, %file%
if read contains ]  Вы оглушили
{
FileRead, NickName, %file%
RegExMatch(NickName, &quot;\Q проводит задержание \E(.*)\Q&quot;, Nick)
sleep 400
Sendinput, {F6}/id %Nick1%{enter}
sleep 400
FileRead, file, %file%
RegExMatch(file, &quot;\[([0-9.]*)\]&quot;, code, -400)
sleep 800
sendinput, {F6}/cuff %code1%{enter}
sleep 1000
fileread, read, %file%
if read contains ]  Вы не можете надеть наручники на этого человека (он не в розыске)
{
SendMessage, 0x50,, 0x4190419,, A
sendinput, {F6}/su %code1%{space}
sleep 400
filedelete, %file%
fileappend,, %file%
}
else
{
sleep 200
sendinput, {F6}/uncuff %code1%{enter}
sleep 1100
sendinput, {F6}/cuff %code1%{enter}
sleep 400
filedelete, %file%
fileappend,, %file%
}
}
else
{
goto netu
}
netu:
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[RellaX]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33733</uri>
			</author>
			<updated>2016-03-02T18:05:13Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=101587#p101587</id>
		</entry>
</feed>
