<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Addtimer</title><link>https://sourceforge.net/p/hercules/wiki/Addtimer/</link><description>Recent changes to Addtimer</description><atom:link href="https://sourceforge.net/p/hercules/wiki/Addtimer/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 20 Feb 2023 05:00:34 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/hercules/wiki/Addtimer/feed" rel="self" type="application/rss+xml"/><item><title>Addtimer modified by Brynner</title><link>https://sourceforge.net/p/hercules/wiki/Addtimer/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;span&gt;[Category:Script_Command]&lt;/span&gt;&lt;/p&gt;
&lt;h2 id="syntax"&gt;Syntax&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="alink" href="/p/hercules/wiki/Addtimer/"&gt;[Addtimer]&lt;/a&gt; &amp;lt;ticks&amp;gt;,"NPC::OnEvent"; &lt;/li&gt;
&lt;li&gt;&lt;span&gt;[Addtimercount]&lt;/span&gt; "NPC::OnLabel",&amp;lt;ticks&amp;gt;; &lt;/li&gt;
&lt;li&gt;&lt;span&gt;[Deltimer]&lt;/span&gt; "NPC::OnEvent"; &lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="description"&gt;Description&lt;/h2&gt;
&lt;p&gt;These commands will create, destroy, and delay a countdown timer - 'addtimer'&lt;br/&gt;
to create, 'deltimer' to destroy and 'addtimercount' to delay it by the&lt;br/&gt;
specified number of ticks. For all three cases, the event label given is the&lt;br/&gt;
identifier of that timer. The timer runs on the character object that is&lt;br/&gt;
attached to the script (and I'm not sure what happens when nothing is&lt;br/&gt;
attached), and can have multiple instances. When the label is ran, it is ran&lt;br/&gt;
as if the player that the timer runs on has clicked the NPC.&lt;/p&gt;
&lt;p&gt;When this timer runs out, a new execution thread will start in the specified&lt;br/&gt;
NPC object at the specified label. If no such label is found in the NPC&lt;br/&gt;
object, it will run as if clicked.&lt;/p&gt;
&lt;p&gt;The ticks are given in 1/1000ths of a second.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brynner</dc:creator><pubDate>Mon, 20 Feb 2023 05:00:34 -0000</pubDate><guid>https://sourceforge.net9ffc0da0305fdd66d6e8121983da7fead2f190fe</guid></item></channel></rss>