Mr BrycE Posted July 14, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Share Posted July 14, 2012 hi. i would like to request a script that gioes like this... in a Map. there's an NPC that needs a Certian Number/Quantiity of items before the party is warped the items must be on its party leader... Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 14, 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 July 14, 2012 if (!getcharid(1)) { mes "You're not in a party."; close; } if (getcharid(0) != getpartyleader(getcharid(1),2)) { mes "You're not the party leader."; close; } if (countitem(ITEM_ID) < AMOUNT) { mes "You don't have enough items."; close; } delitem ITEM_ID, AMOUNT; warp "MAP_NAME",X,Y; close; Quote Link to comment Share on other sites More sharing options...
Question
Mr BrycE
hi.
i would like to request a script that gioes like this...
in a Map. there's an NPC that needs a Certian Number/Quantiity of items before the party is warped
the items must be on its party leader...
Link to comment
Share on other sites
1 answer 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.