Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,155,181,5 script Sample 757,{
- if( select( "Exchange "+.amount+" x "+getitemname( .itemid )+" to 1 x "+getitemname( 7227 )+" ?","Close" ) == 1 ){
- if( countitem( .itemid ) < .amount ){
- mes "You need "+.amount+" x "+getitemname( .itemid );
- }else{
- delitem .itemid,.amount;
- getitem 7227,1;
- mes "exchanged "+.amount+" x "+getitemname( .itemid )+" to 1 x "+getitemname( 7227 );
- }
- }
- close;
- OnClock1300:
- OnClock1800:
- OnClock2200:
- set .amount,rand( 1000,4000 );
- hideoffnpc strnpcinfo(0);
- sleep ( 60 * 60000 );
- OnInit:
- set .itemid,7539;
- hideonnpc strnpcinfo(0);
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment