Difference between revisions of "Exevent RenamePet"
From Wiki
m (a) |
(→Example) |
||
Line 9: | Line 9: | ||
==== Example ==== | ==== Example ==== | ||
− | <pre>finditem %horse G_2 | + | <pre> |
− | if # | + | finditem %horse G_2 |
− | + | if #FINDCNT > 0 | |
+ | { | ||
+ | exevent RenamePet #FINDID Name | ||
+ | } | ||
halt | halt | ||
</pre> | </pre> |
Revision as of 09: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 |