This is emistry's script and it works perfectly fine.....
however if possible i would like to change the script on the part where it displays user who dont have the tcg card 1 by 1... to display all the user who does not have the item at the same time....
like for ex..
party(boom) members:
"pppp1" has 1 TCG
"pppp2" has 1 TCG
"pppp3" no TCG
"pppp4" no TCG
script would say
-pppp3 has no tcg
then after if pppp3 acquire 1 tcg
script would say
-pppp4 has no tcg......
i want to script to direcly list of all the people who does not have a TCG card
-pppp3 has no tcg -pppp4 has no tcg
something like this.....
.@itemid = 512;
.amound = 10;
.@aid = getcharid(3);
getpartymember getcharid(1),0;
getpartymember getcharid(1),2;
while( .@i < $@partymembercount ){
if( attachrid( $@partymemberaid[ .@i ] ) )
if( countitem( .@itemid ) < .@amount ){
attachrid( .@rid );
mes Your member "+$@partymembername$[.@i]+" didnt have "+.@amount+" "+getitemname( .@itemid )+".";
close;
}
.@i++;
}
attachrid( .@rid );
mes "All got items.";
close;
Question
caspa
however if possible i would like to change the script on the part where it displays user who dont have the tcg card 1 by 1... to display all the user who does not have the item at the same time....
like for ex..
party(boom)
members:
"pppp1" has 1 TCG
script would say
-pppp3 has no tcg
script would say
-pppp4 has no tcg......
i want to script to direcly list of all the people who does not have a TCG card
-pppp3 has no tcg
-pppp4 has no tcg
something like this.....
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.