Jump to content

[Release] Script Command *equip2 1.1


About This File

Information

This command will equip a specific item on the invoking character.

It will only equip if the player is online and the item is in his/her inventory.

It does not bypass the item properties such as equippable, player job class, and level requirements.

Works best with the getitem2 script command.

Syntax

equip2 <item id>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>};

Documentation

This command will equip the specified item on the invoking character.

It will only equip if the player is online and the item is in his/her inventory.

It does not bypass the item properties (such as if the item is equip-able, player job class, and level requirements).

Parameters:

refine - How many refine points/plusses is refined on the specific item.

attribute - If the item has a specific elemental attribute.

card1,2,3,4 - Cards found on the specific item. If none, put 0.

Returns 0 if successfully equipped, 1 if otherwise.

Example Snippet:

// Receive a +2 Quadruple Lucky Sword (4 poring cards)
getitem2 1101,1,1,2,0,4001,4001,4001,4001;
// Equip the specific item on the character who has the account ID of 2000000
equip2 1101,2,0,4001,4001,4001,4001,2000000;

Credits

Created by Xantara

Requested by kevinchen (here)

88x31.png

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Do not mirror without my consent.


What's New in Version 1.1

Released

  • 1.0 - Initial Release
  • 1.1 - Fixed and changed output values

×
×
  • Create New...