Difference between revisions of "Exevent RenamePet"

From Wiki
Jump to: navigation, search
m (a)
(Example)
Line 9: Line 9:
  
 
==== Example ====
 
==== Example ====
<pre>finditem %horse G_2
+
<pre>
if #findkind &lt;&gt; -1
+
finditem %horse G_2
Exevent RenamePet #findid Name
+
if #FINDCNT > 0
 +
{
 +
exevent RenamePet #FINDID Name
 +
}
 
halt
 
halt
 
</pre>
 
</pre>

Revision as of 10:10, 1 September 2007


Synopsis

Exevent RenamePet {id} {name}

Description

The Exevent RenamePet command changes the name of the pet given by its id to name.


Note: This command is only available from EUO 1.5 TV 56


Example

finditem %horse G_2
if #FINDCNT > 0
{
	exevent RenamePet #FINDID Name
}
halt

Related Commands

exevent

See also

Main Page Documentation