<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Attachnpctimer</title><link>https://sourceforge.net/p/hercules/wiki/Attachnpctimer/</link><description>Recent changes to Attachnpctimer</description><atom:link href="https://sourceforge.net/p/hercules/wiki/Attachnpctimer/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 20 Feb 2023 05:00:35 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/hercules/wiki/Attachnpctimer/feed" rel="self" type="application/rss+xml"/><item><title>Attachnpctimer modified by Brynner</title><link>https://sourceforge.net/p/hercules/wiki/Attachnpctimer/</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/Attachnpctimer/"&gt;[Attachnpctimer]&lt;/a&gt; {"Character Name"}; &lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="description"&gt;Description&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;AttachNPCTimer&lt;/strong&gt; allows you to attach a player to a NPC later on. This can&lt;br/&gt;
only be done to the NPC Timer that is in the same NPC as where this command is&lt;br/&gt;
used. To attach a player, you will simply have to give his account id or RID&lt;br/&gt;
(or UID/GID in some devs words) as a parameter.The [[setnpctimer]]' command&lt;br/&gt;
will explicitly set the timer to a given tick. [[getnpctimer]]' provides&lt;br/&gt;
timer information. Its parameter defines what type:  &lt;/p&gt;
&lt;h2 id="examples"&gt;Examples&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="nv"&gt;attachnpctimer&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nv"&gt;getcharid&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;; // Attaches current player to the NPC Timer.&lt;/span&gt;
&lt;span class="nv"&gt;attachnpctimer&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2000000&lt;/span&gt;&lt;span class="c1"&gt;; // Attaches the player with account id 2000000 to the NPC Timer, if he is online.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&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:35 -0000</pubDate><guid>https://sourceforge.net3f391d04a4b7fcfb991e948d3d085bd48e19d8ad</guid></item></channel></rss>