<?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=Clone</id>
		<title>Clone - 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=Clone"/>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Clone&amp;action=history"/>
		<updated>2026-05-05T08:13:48Z</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=Clone&amp;diff=585&amp;oldid=prev</id>
		<title>Via: Created page with &quot;== Syntax ==  *'''clone''' &quot;&lt;map name&gt;&quot;,&lt;x&gt;,&lt;y&gt;,&quot;&lt;event&gt;&quot;,&lt;char id&gt;{,&lt;master_id&gt;{,&lt;mode&gt;{,&lt;flag&gt;,&lt;duration&gt;}}}  == Description ==  This command creates a monster which is ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.herc.ws/w/index.php?title=Clone&amp;diff=585&amp;oldid=prev"/>
				<updated>2013-08-16T11:32:15Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Syntax ==  *&amp;#039;&amp;#039;&amp;#039;clone&amp;#039;&amp;#039;&amp;#039; &amp;quot;&amp;lt;map name&amp;gt;&amp;quot;,&amp;lt;x&amp;gt;,&amp;lt;y&amp;gt;,&amp;quot;&amp;lt;event&amp;gt;&amp;quot;,&amp;lt;char id&amp;gt;{,&amp;lt;master_id&amp;gt;{,&amp;lt;mode&amp;gt;{,&amp;lt;flag&amp;gt;,&amp;lt;duration&amp;gt;}}}  == Description ==  This command creates a &lt;a href=&quot;/wiki/Monster&quot; title=&quot;Monster&quot;&gt;monster&lt;/a&gt; which is ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Syntax ==&lt;br /&gt;
&lt;br /&gt;
*'''clone''' &amp;quot;&amp;lt;map name&amp;gt;&amp;quot;,&amp;lt;x&amp;gt;,&amp;lt;y&amp;gt;,&amp;quot;&amp;lt;event&amp;gt;&amp;quot;,&amp;lt;char id&amp;gt;{,&amp;lt;master_id&amp;gt;{,&amp;lt;mode&amp;gt;{,&amp;lt;flag&amp;gt;,&amp;lt;duration&amp;gt;}}}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
This command creates a [[monster]] which is a copy of another player. The first&lt;br /&gt;
four arguments serve the same purpose as in the monster script command. The&lt;br /&gt;
&amp;lt;char id&amp;gt; is the character ID of the player to clone (player must be online).&lt;br /&gt;
If &amp;lt;master id&amp;gt; is given, the clone will be a 'slave/minion' of it. Master_id&lt;br /&gt;
must be a character ID of another online player.&lt;br /&gt;
&lt;br /&gt;
The mode can be specified to determine the behavior of the clone, it's&lt;br /&gt;
values are the same as the ones used for the mode field in the mob_db. The&lt;br /&gt;
default mode is aggressive, assists, can move, can attack.&lt;br /&gt;
&lt;br /&gt;
Flag can be either zero or one currently. If zero, the clone is a normal&lt;br /&gt;
monster that'll target players, if one, it is considered a summoned monster,&lt;br /&gt;
and as such, it'll target other monsters. Defaults to zero.&lt;br /&gt;
&lt;br /&gt;
The duration specifies how long the clone will live before it is auto-removed.&lt;br /&gt;
Specified in seconds, defaults to no limit (zero).&lt;br /&gt;
&lt;br /&gt;
Returned value is the monster ID of the spawned clone. If command fails,&lt;br /&gt;
returned value is zero.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
 [[set]] .@player,getcharid(0);&lt;br /&gt;
 '''clone''' &amp;quot;prontera&amp;quot;,150,150,&amp;quot;Test::OnEvent&amp;quot;,.@player;&lt;br /&gt;
or&lt;br /&gt;
 '''clone''' &amp;quot;prontera&amp;quot;,150,150,&amp;quot;Test::OnEvent&amp;quot;,getcharid(0);&lt;br /&gt;
&lt;br /&gt;
[[Category:Script_Command]]&lt;/div&gt;</summary>
		<author><name>Via</name></author>	</entry>

	</feed>