I was wondering how to apply the countitem and delitem commands on every partymember instead of 1 player only?
example: Party exists out of 3 players, all players need to have 1 piece of TGC item (for example) ID 7227.
This part of the script is based on 1 player as you can see. Anyone can help me change it..?
menu "We have all the TCG!.",-,"Don't have enough yet.",MoreTime;
next;
if((countitem(7227) < 1) goto L_NotEnough;
mes "[TCG Person]";
mes "I will now take 1 TCG of each party member";
delitem 7227,1;
mes "Thank you";
close;
Question
HristDead
Hi rA
I was wondering how to apply the countitem and delitem commands on every partymember instead of 1 player only?
example: Party exists out of 3 players, all players need to have 1 piece of TGC item (for example) ID 7227.
This part of the script is based on 1 player as you can see. Anyone can help me change it..?
Thank you kindly!!
Link to comment
Share on other sites
7 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.