<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; Бесконечный код | sa:mp]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=10571</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=10571&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Бесконечный код | sa:mp».]]></description>
		<lastBuildDate>Sat, 11 Apr 2015 19:13:19 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Бесконечный код | sa:mp]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=93278#p93278</link>
			<description><![CDATA[<div class="codebox"><pre><code>
!1::
FileDelete, %A_MyDocuments%%path%suspect.txt
sleep 50
Loop
{
Loop, read, %A_MyDocuments%%path%chatlog.txt, %A_MyDocuments%%path%suspect.txt
{
    IfInString, A_LoopReadLine, ] Ник{ffffff} , FileAppend, %A_LoopReadLine%`n
}
Loop, read, %A_MyDocuments%%path%suspect.txt
{
    RegExMatch(A_LoopReadLine, &quot;] Вопрос от{ffffff} (.*) {33aa33}ID {ffffff}&quot;, suspectname)
    RegExMatch(A_LoopReadLine, &quot; {33aa33}ID {ffffff}(.*)&quot;, suspectid)
}
}
sendinput {f6}/answ %suspectid% Здравствуйте, %suspectname% , решение вашей проблемы: {escape}
return
</code></pre></div><p>Попробуй так , должно заработать , но правила форума соблюдай.</p>]]></description>
			<author><![CDATA[null@example.com (exobangs)]]></author>
			<pubDate>Sat, 11 Apr 2015 19:13:19 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=93278#p93278</guid>
		</item>
		<item>
			<title><![CDATA[Re: Бесконечный код | sa:mp]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=93244#p93244</link>
			<description><![CDATA[<p>Цитировать предыдущий пост не <a href="http://forum.script-coding.com/viewtopic.php?id=9590">нужно</a>. Предложения заканчиваются точкой. Если в посте упоминается игра, пост создаётся в этой ветке. За постоянные нарушения правил полагается бан.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 11 Apr 2015 13:14:52 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=93244#p93244</guid>
		</item>
		<item>
			<title><![CDATA[Re: Бесконечный код | sa:mp]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=93243#p93243</link>
			<description><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p><span style="color: green"><strong>Roma_Cuffor</strong>, темы по играм только в этой ветке.</span></p></blockquote></div><p> Но я там задал вопрос не на тему игры, там не важна игра, мне нужно разобраться с скриптом , почему он бесконечен</p>]]></description>
			<author><![CDATA[null@example.com (Roma_Cuffor)]]></author>
			<pubDate>Sat, 11 Apr 2015 13:09:33 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=93243#p93243</guid>
		</item>
		<item>
			<title><![CDATA[Re: Бесконечный код | sa:mp]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=93242#p93242</link>
			<description><![CDATA[<p><span style="color: green"><strong>Roma_Cuffor</strong>, темы по играм только в этой ветке.</span></p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sat, 11 Apr 2015 13:08:27 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=93242#p93242</guid>
		</item>
		<item>
			<title><![CDATA[Re: Бесконечный код | sa:mp]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=93218#p93218</link>
			<description><![CDATA[<p>Если пост оформлен неправильно, правила форума помогать не рекомендуют. Что касается лично меня, я совсем в играх ничего не понимаю, так что ждите более компетентных помощников.</p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Fri, 10 Apr 2015 15:45:09 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=93218#p93218</guid>
		</item>
		<item>
			<title><![CDATA[Re: Бесконечный код | sa:mp]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=93217#p93217</link>
			<description><![CDATA[<p>Неужели только из-за неправильном оформлении кода вы не можете помочь?</p>]]></description>
			<author><![CDATA[null@example.com (Roma_Cuffor)]]></author>
			<pubDate>Fri, 10 Apr 2015 15:24:50 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=93217#p93217</guid>
		</item>
		<item>
			<title><![CDATA[Re: Бесконечный код | sa:mp]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=93216#p93216</link>
			<description><![CDATA[<div class="codebox"><pre><code>#IfWinActive GTA:SA:MP
SLES := 0
suspectid := 0
suspectname := &quot;Подозреваемый&quot;
suspectid1 := 0
suspectname1 := &quot;Подозреваемый&quot;
path := &quot;\GTA San Andreas User Files\SAMP\&quot;
F3::
{
SLES := 1
suspectid := 0
suspectname := &quot;Подозреваемый&quot;
suspectid1 := 0
suspectname1 := &quot;Подозреваемый&quot;
sleep 1000
}
Return


!1::
{
FileDelete, %A_MyDocuments%%path%suspect.txt
sleep 50
Loop
{
Loop, read, %A_MyDocuments%%path%chatlog.txt, %A_MyDocuments%%path%suspect.txt
{
    IfInString, A_LoopReadLine, ] Ник{ffffff} , FileAppend, %A_LoopReadLine%`n
}
Loop, read, %A_MyDocuments%%path%suspect.txt
{
    RegExMatch(A_LoopReadLine, &quot;] Вопрос от{ffffff} (.*) {33aa33}ID {ffffff}&quot;, suspectname)
    RegExMatch(A_LoopReadLine, &quot; {33aa33}ID {ffffff}(.*)&quot;, suspectid)
}
sendinput {f6}/answ %suspectid% Здравствуйте, %suspectname% , решение вашей проблемы: {escape}
}
return
!2::
{
FileDelete, %A_MyDocuments%%path%suspect.txt
        Loop, read, %A_MyDocuments%%path%chatlog.txt, %A_MyDocuments%%path%suspect.txt
        {
            IfInString, A_LoopReadLine, ] Ник{ffffff} , FileAppend, %A_LoopReadLine%`n
        }
        Loop, read, %A_MyDocuments%%path%suspect.txt
        {
            RegExMatch(A_LoopReadLine, &quot;] Вопрос от{ffffff} (.*) {33aa33}ID {ffffff}&quot;, suspectname)
            RegExMatch(A_LoopReadLine, &quot; {33aa33}ID {ffffff}(.*)&quot;, suspectid)
        }
}
return
!3::
{
FileDelete, %A_MyDocuments%%path%suspect.txt
        Loop, read, %A_MyDocuments%%path%chatlog.txt, %A_MyDocuments%%path%suspect.txt
        {
            IfInString, A_LoopReadLine, ] Ник{ffffff} , FileAppend, %A_LoopReadLine%`n
        }
        Loop, read, %A_MyDocuments%%path%suspect.txt
        {
            RegExMatch(A_LoopReadLine, &quot;] Вопрос от{ffffff} (.*) {33aa33}ID {ffffff}&quot;, suspectname)
            RegExMatch(A_LoopReadLine, &quot; {33aa33}ID {ffffff}(.*)&quot;, suspectid)
        }
}
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Roma_Cuffor)]]></author>
			<pubDate>Fri, 10 Apr 2015 15:19:38 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=93216#p93216</guid>
		</item>
		<item>
			<title><![CDATA[Re: Бесконечный код | sa:mp]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=93215#p93215</link>
			<description><![CDATA[<p><span style="color: green"><strong>Roma_Cuffor</strong>, теперь вам <a href="http://forum.script-coding.com/viewtopic.php?id=9590">сюда</a>. Как человеку, плохо знающему русский, подскажу: обратите особое внимание на оформление кода.</span></p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Fri, 10 Apr 2015 15:07:07 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=93215#p93215</guid>
		</item>
		<item>
			<title><![CDATA[Бесконечный код | sa:mp]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=93214#p93214</link>
			<description><![CDATA[<p>На основе кое-какого другого скрипта сделал свой.Суть скрипта в том, что он ищет в чат логе игры последнюю строчку с &quot;Вопрос от Имя_Игрока ID 123&quot; и делает переменную для Имя_Игрока - suspectname , а для его ID - suspectid. Потом выводит мне в игру уже строчку : &quot; /answ ID Здравствуйте, Имя_Игрока , решение вашей проблемы: &quot;.<br />Вроде всё работает нормально, кроме одного - скрипт не останавливается и просто пишет бесконечное количество этой фразы в окно ввода.</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>#IfWinActive GTA:SA:MP<br />SLES := 0<br />suspectid := 0<br />suspectname := &quot;Подозреваемый&quot;<br />suspectid1 := 0<br />suspectname1 := &quot;Подозреваемый&quot;<br />path := &quot;\GTA San Andreas User Files\SAMP\&quot;</p><p>F3::<br />{<br />SLES := 1<br />suspectid := 0<br />suspectname := &quot;Подозреваемый&quot;<br />suspectid1 := 0<br />suspectname1 := &quot;Подозреваемый&quot;<br />sleep 1000<br />}<br />Return</p><br /><br /><p>!1::<br />{<br />FileDelete, %A_MyDocuments%%path%suspect.txt<br />sleep 50</p><p>Loop<br />{<br />Loop, read, %A_MyDocuments%%path%chatlog.txt, %A_MyDocuments%%path%suspect.txt<br />{<br />&nbsp; &nbsp; IfInString, A_LoopReadLine, ] Ник{ffffff} , FileAppend, %A_LoopReadLine%`n<br />}</p><p>Loop, read, %A_MyDocuments%%path%suspect.txt<br />{<br />&nbsp; &nbsp; RegExMatch(A_LoopReadLine, &quot;] Вопрос от{ffffff} (.*) {33aa33}ID {ffffff}&quot;, suspectname)<br />&nbsp; &nbsp; RegExMatch(A_LoopReadLine, &quot; {33aa33}ID {ffffff}(.*)&quot;, suspectid)<br />}<br />sendinput {f6}/answ %suspectid% Здравствуйте, %suspectname% , решение вашей проблемы: {escape}<br />}<br />return</p><p>!2::<br />{<br />FileDelete, %A_MyDocuments%%path%suspect.txt</p><p>		Loop, read, %A_MyDocuments%%path%chatlog.txt, %A_MyDocuments%%path%suspect.txt<br />		{<br />&nbsp; &nbsp; 		IfInString, A_LoopReadLine, ] Ник{ffffff} , FileAppend, %A_LoopReadLine%`n<br />		}</p><p>		Loop, read, %A_MyDocuments%%path%suspect.txt<br />		{<br />&nbsp; &nbsp; 		RegExMatch(A_LoopReadLine, &quot;] Вопрос от{ffffff} (.*) {33aa33}ID {ffffff}&quot;, suspectname)<br />&nbsp; &nbsp; 		RegExMatch(A_LoopReadLine, &quot; {33aa33}ID {ffffff}(.*)&quot;, suspectid)<br />		}<br />}<br />return</p><p>!3::<br />{<br />FileDelete, %A_MyDocuments%%path%suspect.txt</p><p>		Loop, read, %A_MyDocuments%%path%chatlog.txt, %A_MyDocuments%%path%suspect.txt<br />		{<br />&nbsp; &nbsp; 		IfInString, A_LoopReadLine, ] Ник{ffffff} , FileAppend, %A_LoopReadLine%`n<br />		}</p><p>		Loop, read, %A_MyDocuments%%path%suspect.txt<br />		{<br />&nbsp; &nbsp; 		RegExMatch(A_LoopReadLine, &quot;] Вопрос от{ffffff} (.*) {33aa33}ID {ffffff}&quot;, suspectname)<br />&nbsp; &nbsp; 		RegExMatch(A_LoopReadLine, &quot; {33aa33}ID {ffffff}(.*)&quot;, suspectid)<br />		}<br />}<br />return</p></div></div><p>Помогите &quot;остановить&quot; скрипт</p>]]></description>
			<author><![CDATA[null@example.com (Roma_Cuffor)]]></author>
			<pubDate>Fri, 10 Apr 2015 15:01:59 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=93214#p93214</guid>
		</item>
	</channel>
</rss>
