Mr BrycE Posted July 14, 2012 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
Euphy Posted July 14, 2012 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
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...
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.