Jump to content

[Release] Script Command *equip2


Xantara

Recommended Posts


  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.00
  • Content Count:  243
  • Reputation:   206
  • Joined:  11/28/11
  • Last Seen:  

File Name: Script Command *equip2

File Submitter: Xantara

File Submitted: 18 Dec 2011

File Updated: 18 Dec 2011

File Category: Source Modifications

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.

Click here to download this file

  • Upvote 1
Link to comment
Share on other sites

  • 3 months later...

  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

Posted · Hidden by Thanna, April 16, 2012 - able to get the answer in my question
Hidden by Thanna, April 16, 2012 - able to get the answer in my question

how do this work? I tried it on my test server somehow cant make it work lol

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...