Difference between revisions of "Exevent RenamePet"

From Wiki
Jump to: navigation, search
 
m (Example: fixing example typo)
Line 11: Line 11:
 
<pre>finditem %horse G_2
 
<pre>finditem %horse G_2
 
if #findkind &lt;&gt; -1
 
if #findkind &lt;&gt; -1
Exevent RenamePet #findid Namehalt
+
Exevent RenamePet #findid Name
 +
halt
 
</pre>
 
</pre>
  
 
{{footer}}
 
{{footer}}

Revision as of 01:54, 3 September 2005


Synopsis

Exevent RenamePet {id} {name}

Description

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


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


Example

finditem %horse G_2
if #findkind <> -1
	Exevent RenamePet #findid Name
halt

See also

Main Page Documentation