Advertisement
Guest User

Untitled

a guest
Feb 20th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. izlude,133,122,6 script 卡片回收箱 464,{
  2. set .@have,0;
  3. set .@maxhave,0;
  4. mes "["+ strnpcinfo(0) +"]";
  5. for( set .@card, 4001; .@card <= 4453; set .@card, .@card+1 ) {
  6. if (.@card == 4446) {break;}
  7. set .@have,countitem(.@card);
  8. set .@maxhave,.@maxhave + .@have;
  9. }
  10. mes "擁有的卡片數量共:" + .@maxhave + " 張";
  11. mes "可以獲得 ^FF0000" + .@maxhave + " Zeny^000000。";
  12. mes " ";
  13. mes "要回收所有卡片嗎?";
  14. next;
  15. if (select("是的:還是算了")==2){close;}
  16. if ( .@maxhave == 0 ){
  17. mes "[卡片回收]";
  18. mes "你身上沒有任何卡片。";
  19. close;
  20. }
  21. for( set .@card, 4001; .@card <= 4453; set .@card, .@card+1 ) {
  22. if (.@card == 4446) {break;}
  23. set .@have,countitem(.@card);
  24. delitem .@card,.@have;
  25. }
  26. set #CASHPOINTS,#CASHPOINTS + .@maxhave;
  27. //set Zeny,Zeny + .@maxhave*10000;
  28. mes "["+ strnpcinfo(0) +"]";
  29. mes "回收完畢,恭喜你得到 ^FF0000" + .@maxhave + " Zeny^000000。";
  30. close2;
  31. close;
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement