<?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=11916&amp;type=atom" />
	<updated>2016-08-18T13:24:14Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.script-coding.com/viewtopic.php?id=11916</id>
		<entry>
			<title type="html"><![CDATA[Re: Скрипт не запускается повторно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=106865#p106865" />
			<content type="html"><![CDATA[<p>Вроде работать должно:</p><div class="codebox"><pre><code>next = etherial

d::
if (A_TickCount&gt;T)
   next = etherial
if (next==&quot;etherial&quot;)
   {
   send {c}
   T:=A_TickCount+3000
   next = dagon
   }
else
   {
   send {a}
   next = etherial
   }
MouseClick
return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Keller]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33755</uri>
			</author>
			<updated>2016-08-18T13:24:14Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=106865#p106865</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Скрипт не запускается повторно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=106854#p106854" />
			<content type="html"><![CDATA[<p><strong>yurri_87</strong>, для игр есть отдельная ветка.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-08-17T15:51:28Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=106854#p106854</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Скрипт не запускается повторно]]></title>
			<link rel="alternate" href="http://forum.script-coding.com/viewtopic.php?pid=106853#p106853" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>
next = etherial
d::
msgbox сработала
	if(next = &quot;etherial&quot;){
		send {c} ; етериал
		MouseClick
		next = dagon
		sleep 3000
		next = etherial
		return
	}
	if(next = &quot;dagon&quot;){
		send {a} ; дагон
		MouseClick
		next = etherial
		return
	}
	return
</code></pre></div><p>если нажать &quot;d&quot; - скрипт срабатывает, но если нажать &quot;d&quot; повторно, то скприпт не сработает, пока не прошло 3 секунды.<br />Как можно запустить скрипт повторно?<br />Смысл в том, чтобы делать одно действие по однократному нажатию &quot;d&quot;, и если потребуется - выполнить другое действие, на эту же самую клавишу &quot;d&quot;. Если в течении 3х секунд клавиша &quot;d&quot; не нажимается, то все возвращается как было (next = etherial).</p>]]></content>
			<author>
				<name><![CDATA[yurri_87]]></name>
				<uri>http://forum.script-coding.com/profile.php?id=33581</uri>
			</author>
			<updated>2016-08-17T15:13:21Z</updated>
			<id>http://forum.script-coding.com/viewtopic.php?pid=106853#p106853</id>
		</entry>
</feed>
