<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.herc.ws/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.herc.ws/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KeyWorld</id>
		<title>Hercules Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.herc.ws/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=KeyWorld"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Special:Contributions/KeyWorld"/>
		<updated>2026-05-01T09:10:08Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.21.11</generator>

	<entry>
		<id>https://wiki.herc.ws/wiki/Freeloop</id>
		<title>Freeloop</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/wiki/Freeloop"/>
				<updated>2013-07-18T07:38:58Z</updated>
		
		<summary type="html">&lt;p&gt;KeyWorld: Freeloop don't do a sleep(1) when there is an infinity loop (even if it was how I introduced this command to the community). Devs coded it just to skip the infinity loop countdown, nothing else.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Syntax==&lt;br /&gt;
*'''freeloop'''(&amp;lt;toggle&amp;gt;);&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
Toggling this to enabled (1) allows the script instance to bypass the &lt;br /&gt;
infinite loop protection, allowing your script to loop as much as it may &lt;br /&gt;
need. Disabling (0) will warn you if an infinite loop is detected.&lt;br /&gt;
&lt;br /&gt;
==Example==&lt;br /&gt;
    freeloop(1); // enable script to loop freely&lt;br /&gt;
    &lt;br /&gt;
    //Be aware with what you do here.&lt;br /&gt;
    for ( set .@i,0; .@i&amp;lt;.@bigloop; set .@i, .@i+1 ) {&lt;br /&gt;
    	dothis;&lt;br /&gt;
    	// Be aware, it will block the emulator to process other&lt;br /&gt;
    	// stuff (socket, timer, logic, etc.) until the loop end.&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    freeloop(0); // disable&lt;br /&gt;
    &lt;br /&gt;
    for ( set .@i,0; .@i&amp;lt;.@bigloop; set .@i, .@i+1 ) {&lt;br /&gt;
    	dothis;&lt;br /&gt;
    	// throw an infinity loop error&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[while]]&lt;br /&gt;
* [[for]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Script Command]]&lt;/div&gt;</summary>
		<author><name>KeyWorld</name></author>	</entry>

	</feed>