Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,155,181,5 script Blackmarket 757,{
- mes "Hi, "+strcharinfo(0)+" do you know me ?";
- if( select( "Yes","No" ) == 2 ){
- mes "I am seller that sell an illegal thing that you cant get from hunt. The item might be rare.";
- next;
- mes "I appear every "+.show_interval_hour+" hours. Example..";
- for( set .@i,0; .@i < 24; set .@i,.@i + .show_interval_hour )
- mes " > "+( ( .@i < 10 )?"0":"" )+.@i+":00 "+( ( .@i < 12 )?"AM":"PM" );
- if( select( "Go to Blackmarket","close" ) == 2 ) close;
- }
- warp .map_name$,166,61;
- close;
- OnInit:
- set .map_name$,"mal_in02";
- set .show_interval_hour,3;
- end;
- OnMinute00:
- if( gettime(3) % .show_interval_hour == 0 ){
- announce "The Black market NPC appear for next 15 ~ 20 minutes...",0;
- hideoffnpc strnpcinfo(0);
- sleep ( rand( 15,20 ) * 60000 );
- }
- hideonnpc strnpcinfo(0);
- announce "The Black market NPC gone...",0;
- mapwarp .map_name$,"prontera",155,181;
- end;
- }
Advertisement
Add Comment
Please, Sign In to add comment