<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Combots Бот для БК &mdash; Плагин автопродажи.]]></title>
		<link>http://www.combats-bot.ru/viewtopic.php?id=3747</link>
		<description><![CDATA[Недавние сообщения в теме "Плагин автопродажи.".]]></description>
		<lastBuildDate>Sun, 14 Aug 2011 20:03:41 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53665#p53665</link>
			<description><![CDATA[<div class="quotebox"><cite>drsn пишет:</cite><blockquote><p>Exile, скажи а насколько сложно написать плагин плавки шмота в абе?)</p></blockquote></div><p>Опиши что требуется от плагина.<br />Плавка пещерного шмота? <br />Руны должны получаться только VP?<br />Короче, распиши всё, что должно и может получиться, из каких шмоток.</p>]]></description>
			<author><![CDATA[dummy@example.com (Exile)]]></author>
			<pubDate>Sun, 14 Aug 2011 20:03:41 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53665#p53665</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53664#p53664</link>
			<description><![CDATA[<p>Exile, спасибо за помощь. Все работает.</p>]]></description>
			<author><![CDATA[dummy@example.com (Минерал)]]></author>
			<pubDate>Sun, 14 Aug 2011 17:44:39 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53664#p53664</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53652#p53652</link>
			<description><![CDATA[<div class="quotebox"><cite>drsn пишет:</cite><blockquote><p>Exile, скажи а насколько сложно написать плагин плавки шмота в абе?)</p></blockquote></div><p>Я плавкой не занимался, самого процесса не знаю.&nbsp; Но с технической точки зрения - думаю, не сложнее продажи вещей в гос.</p>]]></description>
			<author><![CDATA[dummy@example.com (Exile)]]></author>
			<pubDate>Sun, 14 Aug 2011 08:39:39 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53652#p53652</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53651#p53651</link>
			<description><![CDATA[<p>Exile, скажи а насколько сложно написать плагин плавки шмота в абе?)</p>]]></description>
			<author><![CDATA[dummy@example.com (drsn)]]></author>
			<pubDate>Sun, 14 Aug 2011 08:14:45 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53651#p53651</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53650#p53650</link>
			<description><![CDATA[<div class="quotebox"><cite>Минерал пишет:</cite><blockquote><p>все кроме пузырей продает!</p></blockquote></div><p>пардон, ошибку сделал небольшую.<br />замени <br /></p><div class="codebox"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">item</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span></pre></div><p>на<br /></p><div class="codebox"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">item</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Exile)]]></author>
			<pubDate>Sun, 14 Aug 2011 08:11:23 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53650#p53650</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53649#p53649</link>
			<description><![CDATA[<p>все кроме пузырей продает!</p>]]></description>
			<author><![CDATA[dummy@example.com (Минерал)]]></author>
			<pubDate>Sun, 14 Aug 2011 07:53:08 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53649#p53649</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53630#p53630</link>
			<description><![CDATA[<p>ок.завтра попробую.</p>]]></description>
			<author><![CDATA[dummy@example.com (Минерал)]]></author>
			<pubDate>Sat, 13 Aug 2011 16:57:59 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53630#p53630</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53629#p53629</link>
			<description><![CDATA[<div class="quotebox"><cite>Минерал пишет:</cite><blockquote><p>Ребят, как написать эту строку, чтоб продавал любое количество бутылок</p></blockquote></div><div class="codebox"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> sellTimer <span style="color: #339933;">=</span> <span style="color: #009900;">&#123;</span><span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span><br /><span style="color: #003366; font-weight: bold;">var</span> done <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span><br /><span style="color: #003366; font-weight: bold;">var</span> itemsToSell <span style="color: #339933;">=</span> <span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />itemsToSell.<span style="color: #660066;">push</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;вещь&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp;<br />&nbsp;<br /><span style="color: #003366; font-weight: bold;">function</span> SellInShop<span style="color: #009900;">&#40;</span>enabled<span style="color: #009900;">&#41;</span><br /><span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>enabled<span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; sellTimer<span style="color: #009900;">&#91;</span>mylogin<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> setInterval<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;SellAction()&quot;</span><span style="color: #339933;">,</span> <span style="color: #CC0000;">3000</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; clearInterval<span style="color: #009900;">&#40;</span>sellTimer<span style="color: #009900;">&#91;</span>mylogin<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br /><span style="color: #009900;">&#125;</span><br />&nbsp;<br />Array.<span style="color: #660066;">prototype</span>.<span style="color: #660066;">inArray</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">item</span><span style="color: #009900;">&#41;</span> <br /><span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #000066; font-weight: bold;">in</span> <span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#41;</span> <br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">item</span>.<span style="color: #660066;">indexOf</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&gt;</span> <span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span> <br />&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span><br /><span style="color: #009900;">&#125;</span><br />&nbsp;<br /><span style="color: #003366; font-weight: bold;">function</span> SellAction<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><br /><span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">try</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>external.<span style="color: #660066;">dungeonEnabled</span><span style="color: #009900;">&#41;</span> <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>top.<span style="color: #660066;">Battle</span>.<span style="color: #660066;">bInBattle</span> <span style="color: #339933;">||</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">location</span>.<span style="color: #660066;">toString</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/dungeon\d+\.pl/i</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; done <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> s <span style="color: #339933;">=</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">document</span>.<span style="color: #660066;">all</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">innerHTML</span><span style="color: #339933;">;</span><br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>done<span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>s.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/drwfl\(&quot;Илена&quot;,/i</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">||</span> s.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/drwfl\(&quot;Бартоломей&quot;,/i</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;подойти к прилавку&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Центральная грибница&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Прилавки с товарами&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Грибница&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Грибная поляна&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Грибная поляна&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Странное Место&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Странное Место&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Грибная лужайка&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Грибная лужайка&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Центральная грибница&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Прилавки с товарами&quot;</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Илена&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Пещеры Мглы&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Внутренний двор&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Внутренний двор&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Последний Привал&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Последний Привал&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Цветочный Пустырь&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Цветочный Пустырь&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Центральный Оазис&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Центральный Оазис&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Базар&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Базар&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Лавка Бартоломея&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Лавка Бартоломея&quot;</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Бартоломей&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Магазин&quot;</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>s.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/Отдел \&quot;Скупка\&quot;/i</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Продать вещи&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">4</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #003366; font-weight: bold;">var</span> items <span style="color: #339933;">=</span> s.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/&lt;a\shref=&quot;shop\.pl\?sl=[^&quot;]*&quot;&gt;продать за .*? кр.&lt;\/a&gt;&lt;\/td&gt;[\s\n\r]*&lt;td[^&gt;]*&gt;&lt;a [^&gt;]*&gt;[^&amp;&lt;]*/ig</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>items <span style="color: #339933;">!=</span> <span style="color: #003366; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> items.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; items<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> items<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/&lt;a\shref=&quot;(shop\.pl\?sl=[^&quot;]*)&quot;&gt;продать за .*? кр.&lt;\/a&gt;&lt;\/td&gt;[\s\n\r]*&lt;td[^&gt;]*&gt;&lt;a [^&gt;]*&gt;([^&amp;&lt;]*)/i</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; items<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> items<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/&amp;amp;/g</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'&amp;'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>itemsToSell.<span style="color: #660066;">inArray</span><span style="color: #009900;">&#40;</span>items<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">location</span> <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;http://&quot;</span> <span style="color: #339933;">+</span> external.<span style="color: #660066;">SCity</span>.<span style="color: #660066;">Text</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">&quot;.combats.com/&quot;</span> <span style="color: #339933;">+</span> items<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">return</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; done <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Магазин&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>s.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/Лавка Бартоломея/</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Лавка Бартоломея&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>s.<span style="color: #660066;">match</span><span style="color: #009900;">&#40;</span><span style="color: #009966; font-style: italic;">/Прилавки с товарами/</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Прилавки с товарами&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Лавка Бартоломея&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Базар&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Базар&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Центральный Оазис&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Центральный Оазис&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Цветочный Пустырь&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Цветочный Пустырь&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Последний Привал&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Последний Привал&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Внутренний двор&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Внутренний двор&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Пещеры Мглы&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Прилавки с товарами&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Центральная грибница&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Центральная грибница&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Грибная лужайка&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Грибная лужайка&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Странное Место&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Странное Место&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Грибная поляна&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>external.<span style="color: #660066;">room_name</span> <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;Грибная поляна&quot;</span> <span style="color: #339933;">&amp;&amp;</span> top.<span style="color: #660066;">frames</span><span style="color: #009900;">&#91;</span>external.<span style="color: #660066;">mainFrameIndex</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">is_accessible</span><span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">ClickLink</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Грибница&quot;</span><span style="color: #339933;">,</span><span style="color: #CC0000;">3</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span>&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />&nbsp; &nbsp; <span style="color: #000066; font-weight: bold;">catch</span><span style="color: #009900;">&#40;</span>err<span style="color: #009900;">&#41;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#123;</span><br />&nbsp; &nbsp; &nbsp; &nbsp; external.<span style="color: #660066;">AddToChat</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;error&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br /><span style="color: #009900;">&#125;</span></pre></div><p>Попробуй так.</p>]]></description>
			<author><![CDATA[dummy@example.com (Exile)]]></author>
			<pubDate>Sat, 13 Aug 2011 16:28:10 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53629#p53629</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53628#p53628</link>
			<description><![CDATA[<p>Ребят, как написать эту строку, чтоб продавал любое количество бутылок:</p><p>&nbsp; &nbsp; &nbsp;itemsToSell.push(&quot;Пустая бутыль&quot;);</p>]]></description>
			<author><![CDATA[dummy@example.com (Минерал)]]></author>
			<pubDate>Sat, 13 Aug 2011 16:11:18 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53628#p53628</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53127#p53127</link>
			<description><![CDATA[<div class="quotebox"><cite>drsn пишет:</cite><blockquote><p>так что, дальше никто не поможет?( а то мне не хватает знаний, могу как тестер только выступать(</p></blockquote></div><p>в чем именно нужна помощь?<br />()<br />вот тут ж вроде уже работая версия, только сделана только под два города.</p>]]></description>
			<author><![CDATA[dummy@example.com (Exile)]]></author>
			<pubDate>Fri, 29 Jul 2011 17:04:46 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53127#p53127</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53125#p53125</link>
			<description><![CDATA[<p>вобще при отладке подобных плагинов принято строку самой продажи закомментить и сделать вывод сформированной ссылки, чтобы можно было оценить правильность.<br />Ну и фильтр на запрет продажи, естественно, чтобы можно было не одну и ту же вещь проверять на продаваемость.</p>]]></description>
			<author><![CDATA[dummy@example.com (anahronik)]]></author>
			<pubDate>Fri, 29 Jul 2011 14:17:22 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53125#p53125</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53124#p53124</link>
			<description><![CDATA[<p>не ну я думаю что для тебя не проблема просто в фильтр не вписывать твои вещи с хилл комплекта, будет у тебя в рюкзаке их десяток) думаю не так страшно)) а вот чтобы плагин вообще работал, вот это да) я например все сгрузил в общагу давно(</p>]]></description>
			<author><![CDATA[dummy@example.com (drsn)]]></author>
			<pubDate>Fri, 29 Jul 2011 13:54:04 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53124#p53124</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53123#p53123</link>
			<description><![CDATA[<div class="quotebox"><cite>anahronik пишет:</cite><blockquote><p>все нужное оставляйте в этой...как его....общаге <img src="http://www.combats-bot.ru/img/smilies/smile.png" width="15" height="15" alt="smile" /></p></blockquote></div><p>Много пур-шмоток используется на хил-комплектах. А кто-то и копает в poor-шмоте.<br />У меня боевой 1050HP, а хил 1800, в том числе благодаря poor. Не хочется его в общаге оставлять.</p><p>Но всё равно спасибо что отозвался <img src="http://www.combats-bot.ru/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (hyppo)]]></author>
			<pubDate>Fri, 29 Jul 2011 13:25:26 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53123#p53123</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53121#p53121</link>
			<description><![CDATA[<p>Нету времени, народ <img src="http://www.combats-bot.ru/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />нету <img src="http://www.combats-bot.ru/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />все нужное оставляйте в этой...как его....общаге <img src="http://www.combats-bot.ru/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (anahronik)]]></author>
			<pubDate>Fri, 29 Jul 2011 13:16:31 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53121#p53121</guid>
		</item>
		<item>
			<title><![CDATA[Re: Плагин автопродажи.]]></title>
			<link>http://www.combats-bot.ru/viewtopic.php?pid=53120#p53120</link>
			<description><![CDATA[<p>Присоединяюсь к просьбе. <br />Плагин такой, непростой, даже ОПАСНЫЙ тем что можно случайно что-то лишнее в гос продать <img src="http://www.combats-bot.ru/img/smilies/lol.png" width="15" height="15" alt="lol" /> <br />Поэтому хотелось бы чтобы его профи проверил и поправил.<br />А то ссыкотно&nbsp; <img src="http://www.combats-bot.ru/img/smilies/lol.png" width="15" height="15" alt="lol" /></p>]]></description>
			<author><![CDATA[dummy@example.com (hyppo)]]></author>
			<pubDate>Fri, 29 Jul 2011 13:13:24 +0000</pubDate>
			<guid>http://www.combats-bot.ru/viewtopic.php?pid=53120#p53120</guid>
		</item>
	</channel>
</rss>
