Difference between revisions of "Getitembound2"
From Hercules Wiki
(Created page with "== Syntax == * getitembound <item id>,<amount>,<bound type>{,<account ID>}; * getitembound "<item name>",<amount>,<bound type>{,<account ID>}; * getitembound2 <ite...") |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
== Syntax == | == Syntax == | ||
− | |||
− | |||
* [[getitembound2]] <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>; | * [[getitembound2]] <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>; | ||
* [[getitembound2]] "<item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>; | * [[getitembound2]] "<item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>; | ||
− | |||
== Description == | == Description == | ||
Line 19: | Line 16: | ||
See example script in npc/costum/itembind.txt | See example script in npc/costum/itembind.txt | ||
+ | == See Also == | ||
+ | * [[getitembound]] | ||
+ | * [[countbound]] | ||
[[Category:Script Command]] | [[Category:Script Command]] |
Latest revision as of 04:31, 5 December 2013
Contents |
Syntax
- getitembound2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>;
- getitembound2 "<item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>,<bound type>;
Description
This command behaves identically to getitem2, but the items created will be bound to the target character as specified by the bound type. All items created in this manner cannot be dropped, sold, vended, auctioned, or mailed, and in some cases cannot be traded or stored.
For a list of bound types see getitembound.
Default is 0 if not defined.
Example
getitembound2 1602,1,1,2,0,4004,4004,4004,4004,1; // The person will receive 1 Account bounded "Rod with 4 Drops card" on it.
See example script in npc/costum/itembind.txt