Jump to content
  • 0

REQUEST: Item giver for 99/70


Freya Jorgenson

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  146
  • Reputation:   1
  • Joined:  11/22/11
  • Last Seen:  

Hello,

May I request for NPC script that has these type of functions;

Gives out items to a 99/70 characters ONLY =)

e.g. + 7 Feather Beret

Will only give items to 1 character per account

-- I understand I could use the freebie NPC script, but I dont know how to put the +7 Equipment in it =)

Thanks in advance.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

Use the 'getitem2' command (works like @item2):

*getitem2 <item id>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>};

*getitem2 "<item name>",<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,<account ID>};

This command will give an amount of specified items to the invoking character.

If an optional account ID is specified, and the target character is currently

online, items will be created in their inventory instead. If they are not

online, nothing will happen. It works essentially the same as 'getitem' (it even

works for negative ID numbers the same way, which is kinda silly) but is a lot

more flexible, since it allows you to give the player an item altered with it's

specific properties.

Those parameters that are different from 'getitem' are:

identify - Whether you want the item to be identified or not, 0 unidentified,

1 identified.

refine - For how many pluses will it be refined.

It will not let you refine an item higher than +10, if you

specify more it'll still be 10.

attribute - Whether the item is broken (1) or not (0) and NOT an elemental

attribute.

card1,2,3,4 - If you want a card compound to it, place the card ID number into

the specific card slot. Card ID numbers also found in

'db/item_db.txt'

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