<?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="https://forum.script-coding.com/extern.php?action=feed&amp;tid=13734&amp;type=atom" />
	<updated>2018-05-25T19:49:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=13734</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: [Решено] проверка переменной на нужное слово]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125605#p125605" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>teadrinker пишет:</cite><blockquote><p><a href="https://autohotkey.com/docs/commands/InStr.htm">InStr()</a></p></blockquote></div><p>Гениально, это то что мне нужно!<br />Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[baplo]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38886</uri>
			</author>
			<updated>2018-05-25T19:49:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125605#p125605</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: [Решено] проверка переменной на нужное слово]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125591#p125591" />
			<content type="html"><![CDATA[<p><a href="https://autohotkey.com/docs/commands/InStr.htm">InStr()</a></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-05-25T13:17:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125591#p125591</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: [Решено] проверка переменной на нужное слово]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=125589#p125589" />
			<content type="html"><![CDATA[<p>Здравствуйте!<br />Имеется идея.<br />Считывать количество строк в ChatLog и из общего количества, брать только 5 последние строки.</p><p>Далее, каждая строка должна быть в своей переменной 1a, 1b, 1c, 1d, 1e, 5 строк - 5 переменных.</p><p>В следующем шаге нужно каждую переменную просканировать на наличие одного слова, пусть это будет Banan.<br />Если нужное слово найдено в нужной переменной, то - выполнить действие.<br />Вопрос:</p><p>Как просканировать переменную так, чтобы переменная не пострадала, то есть, не изменила бы своих данных.<br />То есть, в строке может быть написано что угодно, например:<br />1a = [10:50][Chat]Березка в углу стояла и <span class="bbu">Banan</span> лежал.</p><p>Как просканировать переменную на нужное слово &quot;Banan&quot; и при удачной находке слова, выполнить действие?</p>]]></content>
			<author>
				<name><![CDATA[baplo]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38886</uri>
			</author>
			<updated>2018-05-25T11:39:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=125589#p125589</id>
		</entry>
</feed>
