yuhsing

Untitled

Jul 19th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1.  
  2. prontera,155,181,5 script Blackmarket 757,{
  3. mes "Hi, "+strcharinfo(0)+" do you know me ?";
  4. if( select( "Yes","No" ) == 2 ){
  5. mes "I am seller that sell an illegal thing that you cant get from hunt. The item might be rare.";
  6. next;
  7. mes "I appear every "+.show_interval_hour+" hours. Example..";
  8. for( set .@i,0; .@i < 24; set .@i,.@i + .show_interval_hour )
  9. mes " > "+( ( .@i < 10 )?"0":"" )+.@i+":00 "+( ( .@i < 12 )?"AM":"PM" );
  10. if( select( "Go to Blackmarket","close" ) == 2 ) close;
  11. }
  12. warp .map_name$,166,61;
  13. close;
  14.  
  15. OnInit:
  16. set .map_name$,"mal_in02";
  17. set .show_interval_hour,3;
  18. end;
  19.  
  20. OnMinute00:
  21. if( gettime(3) % .show_interval_hour == 0 ){
  22. announce "The Black market NPC appear for next 15 ~ 20 minutes...",0;
  23. hideoffnpc strnpcinfo(0);
  24. sleep ( rand( 15,20 ) * 60000 );
  25. }
  26. hideonnpc strnpcinfo(0);
  27. announce "The Black market NPC gone...",0;
  28. mapwarp .map_name$,"prontera",155,181;
  29. end;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment