Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 1 poring coin = 1 vote point
- prontera,155,181,5 script Sample#cashitem 757,{
- .@item = 7539;
- .@rate = 1;
- .@countitem = countitem( .@item );
- mes "Exchange "+.@countitem+" x "+getitemname( .@item )+" to "+( .@countitem * .@rate )+" Point ?";
- if( .@countitem )
- if( select( "YES","Cancel" ) == 1 ){
- delitem .@item,.@countitem;
- #VOTEPOINTS = #VOTEPOINTS + ( .@countitem * .@rate );
- mes "Done";
- }
- close;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement