Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. // 1 poring coin = 1 vote point
  2.  
  3. prontera,155,181,5 script Sample#cashitem 757,{
  4. .@item = 7539;
  5. .@rate = 1;
  6.  
  7. .@countitem = countitem( .@item );
  8. mes "Exchange "+.@countitem+" x "+getitemname( .@item )+" to "+( .@countitem * .@rate )+" Point ?";
  9.  
  10. if( .@countitem )
  11. if( select( "YES","Cancel" ) == 1 ){
  12. delitem .@item,.@countitem;
  13. #VOTEPOINTS = #VOTEPOINTS + ( .@countitem * .@rate );
  14. mes "Done";
  15. }
  16. close;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement