Jump to content
  • 0

Inventory Check for Refined items


Boom

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  182
  • Reputation:   22
  • Joined:  12/30/12
  • Last Seen:  

Hi! I hope someone could help me out in making an inventory check whether a player have an item that has an upgrade.

 

I want to make an NPC where it will receive an upgraded headgear/item (+7, +8, +9) and it will do the check whether the player has it (and the correct refinement +) so that the script will continue on making a reward trade..

Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

You can use the countitem2 script command, or use getinventorylist and check the @inventorylist_refine[] value.

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   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...