<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; [AHK]: Проблема с чатом.]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=13842</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13842&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «[AHK]: Проблема с чатом.».]]></description>
		<lastBuildDate>Mon, 11 Jun 2018 21:25:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[[AHK]: Проблема с чатом.]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=125951#p125951</link>
			<description><![CDATA[<p>Приветствую! Код: <br /></p><div class="codebox"><pre><code>~Enter::
if (isInChat() = 1)
{
    sleep 250
    dwAddress := dwSAMP + 0x12D8F8
    chatInput := readString(hGTA, dwAddress, 256)
      
 if chatinput contains /uninv
RegExMatch(chatInput, &quot;/uninv ([0-9]+) (.*)&quot;, Out)
if out1 = 
{
	addchatmessage(&quot;Используйте /uninv [ID] [Причина].&quot;) 
}
else
{
AddChatMessage(&quot;Жетон: &quot; Out1 &quot; остранён. Причина: &quot; Out2)
}
return
}</code></pre></div><p>Проблема заключается&nbsp; в том, что в открытом, пустом чате, при нажатии Enter воспроизводиться строка, даже когда в ней ничего не написано:&nbsp; AddChatMessage(&quot;Жетон: &quot; Out1 &quot; остранён. Причина: &quot; Out2).&nbsp; Помогите пожалуйста решить проблему, заранее спасибо )</p>]]></description>
			<author><![CDATA[null@example.com (Mancini_48)]]></author>
			<pubDate>Mon, 11 Jun 2018 21:25:59 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=125951#p125951</guid>
		</item>
	</channel>
</rss>
