Difference between revisions of "Exevent RenamePet"
From Wiki
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{command header| | + | {{command header|ExEvent}} |
− | {{body|Exevent RenamePet {id} {name}|The ''Exevent RenamePet'' command changes the name of the | + | {{body|Exevent RenamePet {id} {name}|The ''Exevent RenamePet'' command changes the name of the pet given by its id to name. |
}} | }} | ||
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 | ||
</pre> | </pre> | ||
− | {{ | + | == Related Commands == |
+ | {| style="background:gainsboro; color:black; border: 2px #aaa solid;" | ||
+ | | Width=250px align=center | [[exevent]] | ||
+ | |} | ||
+ | =See Also= | ||
+ | {{ExEvent}} |
Latest revision as of 15:09, 6 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
ExEvent
- ExEvent commands send packet information directly to the Ultima Online server in order to perform actions.
exevent Drag | Drags an object using packets |
exevent Dropc | Drops an object in a given container using packets |
exevent Droppd | Drops wearable items into the paperdoll |
exevent Dropg | Drops an object on the ground using packets |
exevent Popup | Opens the context menu of an item/npc |
exevent RenamePet | Renames a pet |
exevent SkillLock | Changes the skill locks on the different skills |
exevent StatLock | Changes the stat locks on the different stats |