<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; Поиск определённой строки и изьятие переменной]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=9599</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=9599&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Поиск определённой строки и изьятие переменной».]]></description>
		<lastBuildDate>Sun, 25 May 2014 10:58:05 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Поиск определённой строки и изьятие переменной]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=83298#p83298</link>
			<description><![CDATA[<p><strong>BashkaMen</strong>, не расстраивайтесь, код довольно бредовый! <img src="//forum.script-coding.com/img/smilies/lol.png" width="15" height="15" /></p>]]></description>
			<author><![CDATA[null@example.com (teadrinker)]]></author>
			<pubDate>Sun, 25 May 2014 10:58:05 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=83298#p83298</guid>
		</item>
		<item>
			<title><![CDATA[Re: Поиск определённой строки и изьятие переменной]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=83296#p83296</link>
			<description><![CDATA[<p>Ай-яй-яй код ведь мой. Зачем ты мой код открыл? Нехорошо. А потом выложишь типо ты сделал, молодец!</p>]]></description>
			<author><![CDATA[null@example.com (BashkaMen)]]></author>
			<pubDate>Sun, 25 May 2014 10:54:28 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=83296#p83296</guid>
		</item>
		<item>
			<title><![CDATA[Поиск определённой строки и изьятие переменной]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=82994#p82994</link>
			<description><![CDATA[<p>Приветствую! У меня есть такой скрипт </p><div class="codebox"><pre><code>F2:: 
filedelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt 
fileappend,, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt 
SelectedFile = %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt 
start1: 
Loop, Read, %SelectedFile% 
{ 
IfInString, A_LoopReadLine, ] - 
{ 
Goto, start 
} 
} 
goto, start1 
start: 
FileRead, NickName, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt 
RegExMatch(NickName, &quot;\Q] - \E(.*)\Q:\E&quot;, Nick) 
sleep 1100 
filedelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt 
fileappend,, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt 
Sendinput, {f6}/id %Nick1%{enter} 
sleep 400 
FileRead, file, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt 
foundpos:=RegExMatch(file, &quot;\[([0-9.]*)\]&quot;, code, -400) 
sleep 700 
sendinput, {F6}/repair %code1% 50{enter} 
sleep 1100 
sendinput, {F6}/refill %code1%{enter} 
filedelete, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt 
fileappend,, %A_MyDocuments%\GTA San Andreas User Files\SAMP\chatlog.txt 
goto, start1 
F3::reload</code></pre></div><p>Как вы видите он ищет во такое </p><div class="codebox"><pre><code>RegExMatch(NickName, &quot;\Q] - \E(.*)\Q:\E&quot;, Nick) </code></pre></div><p>Но мне нужно чтоб скрипт искал</p><div class="codebox"><pre><code> Abc_Abc: чини | Abc_Abc: лей | Abc_Abc: lei</code></pre></div><p>Abc_Abc переменная.<br />Тоесть Abc_Abc Может быть другое A-z_A-z. А.<br />Помогите пожалуйста.</p>]]></description>
			<author><![CDATA[null@example.com (Spark)]]></author>
			<pubDate>Thu, 15 May 2014 18:16:32 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=82994#p82994</guid>
		</item>
	</channel>
</rss>
