Freya Jorgenson Posted October 11, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 146 Reputation: 1 Joined: 11/22/11 Last Seen: April 13 Share Posted October 11, 2012 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. Quote Link to comment Share on other sites More sharing options...
Euphy Posted October 12, 2012 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted October 12, 2012 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' Quote Link to comment Share on other sites More sharing options...
Freya Jorgenson Posted October 12, 2012 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 146 Reputation: 1 Joined: 11/22/11 Last Seen: April 13 Author Share Posted October 12, 2012 thanks Euphy. All is well now ! =) Quote Link to comment Share on other sites More sharing options...
Question
Freya Jorgenson
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.