Difference between revisions of "Getitembound"

From Hercules Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 2: Line 2:
 
* [[getitembound]] <item id>,<amount>,<bound type>{,<account ID>};
 
* [[getitembound]] <item id>,<amount>,<bound type>{,<account ID>};
 
* [[getitembound]] "<item name>",<amount>,<bound type>{,<account ID>};
 
* [[getitembound]] "<item name>",<amount>,<bound type>{,<account ID>};
* [[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>;
 
* [[countbound]] ({<bound type>})
 
 
 
== Description ==
 
== Description ==
 
These commands will create bounded items.
 
These commands will create bounded items.
Line 26: Line 22:
 
     getitembound 2226,1,2;  // The person will receive 1 Guild Bound Cap that can share and store in Guild Storage.
 
     getitembound 2226,1,2;  // The person will receive 1 Guild Bound Cap that can share and store in Guild Storage.
 
     getitembound "Crown",1,4; // The person will receive 1 Char Bound Crown that cannot store sell or drop.
 
     getitembound "Crown",1,4; // The person will receive 1 Char Bound Crown that cannot store sell or drop.
 +
== See Also ==
 +
* [[getitembound2]]
 +
* [[countbound]]
  
 
[[Category:Script Command]]
 
[[Category:Script Command]]

Latest revision as of 04:31, 5 December 2013

Contents

Syntax

  • getitembound <item id>,<amount>,<bound type>{,<account ID>};
  • getitembound "<item name>",<amount>,<bound type>{,<account ID>};

Description

These commands will create bounded items.

This command behaves identically to getitem, 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.

Valid bound types are:

0 - Regular getitem
1 - Account Bound
2 - Guild Bound
3 - Party Bound
4 - Character Bound

Default is 0 if not defined.

Example

   getitembound 2220,1,1; // The person will receive 1 Account bounded Hat that can store in storage.
   getitembound 2226,1,2;  // The person will receive 1 Guild Bound Cap that can share and store in Guild Storage.
   getitembound "Crown",1,4; // The person will receive 1 Char Bound Crown that cannot store sell or drop.

See Also