Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,155,181,5 script Sample#xmas 757,{
- if( countitem( .Item[0] ) < .Item[1] )
- npctalk "You need "+.Item[1]+"ea "+getitemname( .Item[0] );
- else{
- delitem .Item[0],.Item[1];
- getitem rand( 30300,30310 ),1;
- npctalk "You gained 1 item by exchange "+.Item[1]+"ea "+getitemname( .Item[0] );
- }
- end;
- OnInit:
- setarray .Item[0],7034,1000;
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment