Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- izlude,133,122,6 script 卡片回收箱 464,{
- set .@have,0;
- set .@maxhave,0;
- mes "["+ strnpcinfo(0) +"]";
- for( set .@card, 4001; .@card <= 4453; set .@card, .@card+1 ) {
- if (.@card == 4446) {break;}
- set .@have,countitem(.@card);
- set .@maxhave,.@maxhave + .@have;
- }
- mes "擁有的卡片數量共:" + .@maxhave + " 張";
- mes "可以獲得 ^FF0000" + .@maxhave + " Zeny^000000。";
- mes " ";
- mes "要回收所有卡片嗎?";
- next;
- if (select("是的:還是算了")==2){close;}
- if ( .@maxhave == 0 ){
- mes "[卡片回收]";
- mes "你身上沒有任何卡片。";
- close;
- }
- for( set .@card, 4001; .@card <= 4453; set .@card, .@card+1 ) {
- if (.@card == 4446) {break;}
- set .@have,countitem(.@card);
- delitem .@card,.@have;
- }
- set #CASHPOINTS,#CASHPOINTS + .@maxhave;
- //set Zeny,Zeny + .@maxhave*10000;
- mes "["+ strnpcinfo(0) +"]";
- mes "回收完畢,恭喜你得到 ^FF0000" + .@maxhave + " Zeny^000000。";
- close2;
- close;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement