<?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=13424</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13424&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «Команда в чат».]]></description>
		<lastBuildDate>Mon, 29 Jan 2018 17:43:36 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Команда в чат]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=123466#p123466</link>
			<description><![CDATA[<p><strong>alavar15</strong>, скинь в вк что ты там натворил.</p>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Mon, 29 Jan 2018 17:43:36 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=123466#p123466</guid>
		</item>
		<item>
			<title><![CDATA[Re: Команда в чат]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=123463#p123463</link>
			<description><![CDATA[<p>Попробовал вставить в скрипт. Но при вводе команды /rn ничего не происходит(</p>]]></description>
			<author><![CDATA[null@example.com (alavar15)]]></author>
			<pubDate>Mon, 29 Jan 2018 16:53:44 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=123463#p123463</guid>
		</item>
		<item>
			<title><![CDATA[Re: Команда в чат]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=123460#p123460</link>
			<description><![CDATA[<p><strong>alavar15</strong>, у тебя строгая проверка на команду, а это нам сейчас не нужно.<br />Мой вариант:<br /></p><div class="codebox"><pre><code>if (RegExMatch(chatInput, &quot;^/rn&quot;))
{
    if (RegExMatch(chatInput, &quot;^/rn\s+(.*)$&quot;, out))
    {
        SendChat(&quot;/r (( &quot; out1 &quot; ))&quot;)
    }
    else
        addChatMessageEx(&quot;00FF00&quot;, &quot;{FFFFFF}Используй: {00FF00}/rn [текст]&quot;)
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Phoenixxx_Czar)]]></author>
			<pubDate>Mon, 29 Jan 2018 15:20:42 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=123460#p123460</guid>
		</item>
		<item>
			<title><![CDATA[Команда в чат]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=123458#p123458</link>
			<description><![CDATA[<p>Добрый день, при написании скрипта появилась такая проблема. Хочу сделать скрипт на команде. Строку автозамены использовать не могу, ибо когда нажимаешь пробел, это тоже самое что и Enter, т.е ввожу к примеру /skin, нажимаю пробел и срабатывает команда , а мне нужно чтобы можно было ставить пробел. Пробовал через ChatInput. Вообще ничего не работает. Если кто то сталкивался, подскажите что делать) Разобраться бы вот с этим кодом, который почему то не работает.<br /></p><div class="quotebox"><blockquote><p>if chatInput = /rn <br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RegExMatch(chatInput, &quot;/rn (.*)&quot;, d)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (d == &quot;&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AddChatMessage(&quot;Используйте: /rn [Сообщение]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SendChat(&quot;(( &quot; d1 &quot; ))&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return<br />&nbsp; &nbsp; &nbsp; &nbsp; }</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (alavar15)]]></author>
			<pubDate>Mon, 29 Jan 2018 09:51:13 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=123458#p123458</guid>
		</item>
	</channel>
</rss>
