<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Loop_scripts</id>
	<title>Loop scripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.fightorder.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Loop_scripts"/>
	<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Loop_scripts&amp;action=history"/>
	<updated>2026-04-21T07:17:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=Loop_scripts&amp;diff=2390&amp;oldid=prev</id>
		<title>Qrow: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Loop_scripts&amp;diff=2390&amp;oldid=prev"/>
		<updated>2026-03-03T23:55:48Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:55, 3 March 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Qrow</name></author>
	</entry>
	<entry>
		<id>https://www.fightorder.net/wiki/index.php?title=Loop_scripts&amp;diff=2389&amp;oldid=prev</id>
		<title>interemmanuel&gt;Flozi: categorise</title>
		<link rel="alternate" type="text/html" href="https://www.fightorder.net/wiki/index.php?title=Loop_scripts&amp;diff=2389&amp;oldid=prev"/>
		<updated>2013-04-27T10:15:34Z</updated>

		<summary type="html">&lt;p&gt;categorise&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=loop scripts=&lt;br /&gt;
:this loop make thing repetably from a counter or a condition or forever with possible exit&lt;br /&gt;
:&lt;br /&gt;
==condition are checked by :==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;big&amp;gt;&lt;br /&gt;
::== &lt;br /&gt;
::&amp;gt; &lt;br /&gt;
::&amp;lt; &lt;br /&gt;
::=&amp;gt; &lt;br /&gt;
::&amp;lt;= &lt;br /&gt;
::~=&lt;br /&gt;
&amp;lt;/big&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
:&lt;br /&gt;
:&lt;br /&gt;
==values can be :==&lt;br /&gt;
:&amp;lt;big&amp;gt;bool&amp;lt;/big&amp;gt;(booleans): &lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
::true &lt;br /&gt;
::false&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;big&amp;gt;empty&amp;lt;/big&amp;gt;(nothing):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
:: nil&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;big&amp;gt;string&amp;lt;/big&amp;gt;(text):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
:: &amp;quot;abc123&amp;quot;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;big&amp;gt;INT&amp;lt;/big&amp;gt; (numders):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
:: 123&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;big&amp;gt;FLOAT&amp;lt;/big&amp;gt;(number with decimal):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
:: 0.5555&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:&amp;lt;big&amp;gt;variables&amp;lt;/big&amp;gt;(data storage):&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
:: test1&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:&lt;br /&gt;
:&lt;br /&gt;
==condition are:==&lt;br /&gt;
*if then elseif then else end&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
:if condition_is_true then something elseif another_condition_is_true then anotherthing else default_thing end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:exemple:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
local a=0 b=10 c=100&lt;br /&gt;
if &lt;br /&gt;
a=1&lt;br /&gt;
then &lt;br /&gt;
a=a+1&lt;br /&gt;
elseif &lt;br /&gt;
a&amp;gt;0 and a~=1 and b&amp;lt;c&lt;br /&gt;
then b=b+1&lt;br /&gt;
else &lt;br /&gt;
a=0 b=0&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:&lt;br /&gt;
:&lt;br /&gt;
==the basic loop are :==&lt;br /&gt;
:&lt;br /&gt;
*repeat until&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
repetat something until condition_is_true &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:exemple:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
local a=0&lt;br /&gt;
repeat &lt;br /&gt;
a=a+1 &lt;br /&gt;
Spring.Echo(a)&lt;br /&gt;
until a==10&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:&lt;br /&gt;
&lt;br /&gt;
*while do end&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
:while condition_is_true do something end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:exemple:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
local a=0 b=1&lt;br /&gt;
while &lt;br /&gt;
(a~=10 &lt;br /&gt;
and &lt;br /&gt;
b&amp;lt;999) &lt;br /&gt;
or&lt;br /&gt;
a&amp;lt;10&lt;br /&gt;
do&lt;br /&gt;
Spring.Echo(a)&lt;br /&gt;
a=a+1&lt;br /&gt;
end &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
:&lt;br /&gt;
:&lt;br /&gt;
&lt;br /&gt;
==forever loop==&lt;br /&gt;
:just use a condition always true&lt;br /&gt;
:as:&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
local a=1&lt;br /&gt;
repeat &lt;br /&gt;
a=a+1&lt;br /&gt;
until &lt;br /&gt;
a==0&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
local a=1&lt;br /&gt;
while &lt;br /&gt;
true&lt;br /&gt;
do &lt;br /&gt;
a=a+1 &lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[SpringRtsTutorialAnimDef]] return to the list of animDef exemples&lt;br /&gt;
[[Category:Emmanuel]]&lt;/div&gt;</summary>
		<author><name>interemmanuel&gt;Flozi</name></author>
	</entry>
</feed>