<?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=10885</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=10885&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Помогите с рандомом».]]></description>
		<lastBuildDate>Fri, 21 Aug 2015 10:55:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Помогите с рандомом]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=96690#p96690</link>
			<description><![CDATA[<p><strong>Bogdan_Brody</strong> Я бы <strong>SendInput</strong> заменил на <strong>Send</strong>. <br />У меня лично, как показала практика, <strong>Send</strong> работает более корректно. IMHO</p>]]></description>
			<author><![CDATA[null@example.com (Indomito)]]></author>
			<pubDate>Fri, 21 Aug 2015 10:55:23 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=96690#p96690</guid>
		</item>
		<item>
			<title><![CDATA[Re: Помогите с рандомом]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=96646#p96646</link>
			<description><![CDATA[<div class="codebox"><pre><code>F9::
    Random,  rand, 1, 3 
    if rand = 1
    {
        ...
        ...
        ...
    }
    else if rand = 2
    {
        ...
        ...
        ...
    }
    else if rand = 3
    {
        ...
        ...
        ...
    }
    return</code></pre></div><p>Return нужен только в конце, также как и точки в конце предложений в своих постах, а то у нас тут за точки от модератора канделябрами можно схлопотать.</p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Thu, 20 Aug 2015 17:46:55 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=96646#p96646</guid>
		</item>
		<item>
			<title><![CDATA[Re: Помогите с рандомом]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=96643#p96643</link>
			<description><![CDATA[<p><a href="http://ahkscript.org/docs/commands/Block.htm">http://ahkscript.org/docs/commands/Block.htm</a></p>]]></description>
			<author><![CDATA[null@example.com (serzh82saratov)]]></author>
			<pubDate>Thu, 20 Aug 2015 17:25:06 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=96643#p96643</guid>
		</item>
		<item>
			<title><![CDATA[Помогите с рандомом]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=96642#p96642</link>
			<description><![CDATA[<p>Вот у меня такая проблема я написал скрипт для игры самп и тут есть рандом для рп отыгровки<br />, но дело в том что повторяется там всегда только 1-е 3 строчки вот сам код:</p><div class="codebox"><pre><code>F9::
Random,  rand, 1, 3

 if rand=1

    SendInput, {F6}Здравствуйте, Я собираю деньги на помощь голодающим{enter}
Sleep 1300
    SendInput, {F6}Не могли бы вы пожертвовать немного?{enter}
Sleep 1300
    SendInput, {F6}Спасибо, да благословит вас господь{Space}
return

 if rand=2

    SendInput, {F6}Привет! Я приехал к вам из другого штата{enter}
Sleep 1300
    SendInput, {F6}Не мог бы ты дать мне немного, а?{Enter}
Sleep 1300
    SendInput, {F6}Я верну, честно!{enter}
Sleep 1300
    SendInput, {F6}Спасибо мужик, выручил!{Space}
return

 if rand=3

    SendInput, {F6}Э, слыш!{enter}
Sleep 1300
    SendInput, {F6}У меня брат знаешь где работает?{enter}
Sleep 1300
    SendInput, {F6}Косарь гони, иначе худо будет{enter}
Sleep 1300
    SendInput, {F6}Молодец. А теперь вали, и по-быстрее{Space}
return</code></pre></div><p> <br />помогите сделать так что бы работало все а не только первые три строчки</p>]]></description>
			<author><![CDATA[null@example.com (Bogdan_Brody)]]></author>
			<pubDate>Thu, 20 Aug 2015 17:18:36 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=96642#p96642</guid>
		</item>
	</channel>
</rss>
