<?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/index.php?action=history&amp;feed=atom&amp;title=Awake</id>
		<title>Awake - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.herc.ws/w/index.php?action=history&amp;feed=atom&amp;title=Awake"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Awake&amp;action=history"/>
		<updated>2026-05-01T14:24:00Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.11</generator>

	<entry>
		<id>https://wiki.herc.ws/w/index.php?title=Awake&amp;diff=414&amp;oldid=prev</id>
		<title>Via: Created page with &quot;Category:Script_Command ==Syntax== * awake &quot;NPC Name&quot;; * '''sleep''' &lt;milliseconds&gt;; * '''sleep2''' &lt;milliseconds&gt;; ==Description== These commands are used to ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Awake&amp;diff=414&amp;oldid=prev"/>
				<updated>2013-06-09T07:49:11Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/Category:Script_Command&quot; title=&quot;Category:Script Command&quot;&gt;Category:Script_Command&lt;/a&gt; ==Syntax== * &lt;a href=&quot;/wiki/Awake&quot; title=&quot;Awake&quot;&gt;awake&lt;/a&gt; &amp;quot;NPC Name&amp;quot;; * &amp;#039;&amp;#039;&amp;#039;&lt;a href=&quot;/wiki/Sleep&quot; class=&quot;mw-redirect&quot; title=&quot;Sleep&quot;&gt;sleep&lt;/a&gt;&amp;#039;&amp;#039;&amp;#039; &amp;lt;milliseconds&amp;gt;; * &amp;#039;&amp;#039;&amp;#039;&lt;a href=&quot;/wiki/Sleep2&quot; class=&quot;mw-redirect&quot; title=&quot;Sleep2&quot;&gt;sleep2&lt;/a&gt;&amp;#039;&amp;#039;&amp;#039; &amp;lt;milliseconds&amp;gt;; ==Description== These commands are used to ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Script_Command]]&lt;br /&gt;
==Syntax==&lt;br /&gt;
* [[awake]] &amp;quot;NPC Name&amp;quot;;&lt;br /&gt;
* '''[[sleep]]''' &amp;lt;milliseconds&amp;gt;;&lt;br /&gt;
* '''[[sleep2]]''' &amp;lt;milliseconds&amp;gt;;&lt;br /&gt;
==Description==&lt;br /&gt;
These commands are used to control the pause of a NPC.&lt;br /&gt;
Commands [[sleep]] and [[sleep2]] will pause the script for the given amount of milliseconds.&lt;br /&gt;
Awake is used to cancel a sleep. When awake is called on a NPC it will run as&lt;br /&gt;
if the sleep timer ran out, and thus making the script continue. Sleep and sleep2&lt;br /&gt;
basically do the same, but the main difference is that sleep will not keep the [[RID]],&lt;br /&gt;
while sleep2 does.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sleep 10000; //pause the script for 10 seconds and ditch the RID (so no player is attached anymore)&lt;br /&gt;
sleep2 5000; //pause the script for 5 seconds, and continue with the RID attached.&lt;br /&gt;
awake &amp;quot;NPC&amp;quot;; //Cancels any running sleep timers on the NPC 'NPC'.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Via</name></author>	</entry>

	</feed>