<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Простая формула]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=6169&amp;type=atom" />
	<updated>2011-08-31T21:31:53Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=6169</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Простая формула]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=51003#p51003" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Dworkin пишет:</cite><blockquote><p>AHK: Простая формула</p></blockquote></div><p><span style="color: green"><strong>Dworkin</strong>, тебе <a href="http://forum.script-coding.com/viewtopic.php?pid=44437#p44437">сюда</a>, отредактируй заголовок.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2011-08-31T21:31:53Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=51003#p51003</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Простая формула]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=51002#p51002" />
			<content type="html"><![CDATA[<p>Здравствуйте. Решил создать скрипт, который бы в игре посылал бы всем в лс сообщения одинаковые. Но дело в том что при заходе в игру игрокам дается ID игроков(типо номера). Тоесть если игрок заходит первый на сервер то ему присваивается ИД 1, если второй то ИД 2 и так далее. Что бы написать в лс игрокам надо указывать ихний ид.<br /></p><div class="codebox"><pre><code>F1::
Loop 1
{
send {F6}/pm [b]1[/b] privet{enter} ; 1 это ИД
send {F6}/pm [b]1[/b] privet{enter} ; 2 это ИД
send {F6}/pm [b]3[/b] privet{enter} ; 3 это ИД и так далее....
send {F6}/pm [b]4[/b] privet{enter}
... и так далее в ид
}
return</code></pre></div><p>Дело в том что на сервере может быть игроков до 100 человек и получается не удобно вписывать в скрипт 100 строчек до сотого ИД.<br />Прошу помочь пожалуйста составить простую формулу для скрипта и показать как это реализовать.</p>]]></content>
			<author>
				<name><![CDATA[Dworkin]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27052</uri>
			</author>
			<updated>2011-08-31T21:08:42Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=51002#p51002</id>
		</entry>
</feed>
