Advertisement
johnlol

Skull Collector

Jul 23rd, 2023
653
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VeriLog 0.85 KB | Gaming | 0 0
  1. -   script  Skull Collector 449,{
  2. mes "I'm collecting dead people skull.";
  3. mes "Hmm... well well looks like you have something there aye!";
  4. mes " ";
  5. mes " ";
  6. mes " ";
  7. mes "Let me just check it.............";
  8. next;
  9. mes "You have "+( .@skulls = countitem(7420) )+" skulls";
  10. mes "And";
  11. mes "You currently have "+ #CASHPOINTS +" Cash points";
  12. next;
  13. if ( !.@skulls ) {
  14.     mes "I don't see any Skulls you have >_< so get LOSS! you wasting my time.";
  15.     close;
  16. }
  17. if ( input ( .@amount, 1, .@skulls ) ) {
  18.     mes "invalid amount";
  19.     close;
  20. }
  21. delitem 7420, .@amount;
  22. #CASHPOINTS = #CASHPOINTS + .@amount *2;
  23. dispbottom "[ Cash ] Gained "+( .@amount *2 )+" Points. Total : "+ #CASHPOINTS +" Points.";
  24. mes "Gained "+( .@amount *2 )+" Points.";
  25. mes "Total : "+ #CASHPOINTS +" Points.";
  26. close;
  27. }
  28.  
  29. sec_in02,169,173,2  duplicate(Skull Collector)  Dark Magician#sec   449
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement