yuhsing

Untitled

Oct 31st, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.29 KB | None | 0 0
  1.  
  2. - script Sample -1,{
  3. OnClock0100:
  4. OnClock0500:
  5. OnClock0900:
  6. OnClock1300:
  7. OnClock1700:
  8. for( set .@i,0; .@i < 3; set .@i,.@i + 1 ){
  9. announce "Bossnia Event will Open within "+( 3 - .@i )+" Minutes.",0;
  10. sleep 60000;
  11. }
  12. enablenpc "bsw";
  13. announce "Bossnia Event Opened.",0;
  14. sleep ( 30 * 60000 );
  15. announce "Bossnia Event Closed.",0;
  16. OnInit:
  17. disablenpc "bsw";
  18. end;
  19. }
  20.  
  21.  
  22. prontera,150,179,5 script bossnia Staff::bsw 105,{
  23. function CheckBaseLevel;
  24. mes "[Red]";
  25. mes "Halt! Who approaches?";
  26. mes "I know a Place where chaos rules the land.";
  27. mes "I found it while wondering the plains of RObust.";
  28. mes "I am an adventurer.";
  29. mes "Haha~";
  30. next;
  31. mes "[Red]";
  32. mes "What? My name is...";
  33. mes "'RObustnia Staff'?? Urghh no...";
  34. mes "Well, my name is not so important.";
  35. mes "Sometimes you should be generous.";
  36. mes "No time for considering that kind of small stuff";
  37. mes "when you have to concentrate on more important things.";
  38. next;
  39. mes "[Red]";
  40. mes "Hum... anyway I want to say... something..";
  41. mes "While I was travelling through some places,";
  42. mes "I found a really dreadful and fearful place.";
  43. next;
  44. mes "[Red]";
  45. mes "Most of the time when you come to a place,";
  46. mes "there is one strong and fearful monster.";
  47. mes "Isn't it?";
  48. next;
  49. mes "[Red]";
  50. mes "But... but... in there...";
  51. mes "There are lots of fearful and strong monsters in there...";
  52. mes "That was really frightful, i even heared rumors of Satan being spotted there.";
  53. next;
  54. mes "[Red]";
  55. mes "If I had reacted a bit later... a few seconds...";
  56. mes "I might have been killed.";
  57. next;
  58. mes "[Red]";
  59. mes "What?";
  60. mes "You want to go in there?";
  61. mes "Oh~ Boy~ you didn't get me.";
  62. mes "In there.......";
  63. next;
  64. mes "[Red]";
  65. mes "Uh... you already know?";
  66. mes "Although you know the place, you want to go in...";
  67. mes "Good, I will send you there.";
  68. mes "But after you went there, don't hold";
  69. mes "a grudge against me. Also it costs 5,000 zeny.";
  70. next;
  71. mes "[Riss]";
  72.  
  73. if( !getcharid(1) ){
  74. mes "You need a Party.";
  75. }else{
  76. mes "Would you really like to take the challenge??";
  77. mes "Ok, just choose the course.";
  78. set .@room, select("First","Second","Third","Fourth");
  79. getpartymember getcharid(1),1;
  80. if( getcharid(0) != getpartyleader( getcharid(1),2 ) ){
  81. mes "Only Party Leader can decide to go or not.";
  82. }else if( !CheckBaseLevel( getcharid(1) ) ){
  83. mes "All party Member must be level 150.";
  84. }else if( $@partymembercount < 4 || $@partymembercount > 10 ){
  85. mes "You need total of 4 - 10 Party Members.";
  86. }else if (Zeny < 4999){
  87. mes "You need 5,000 Zeny.";
  88. }else{
  89. set Zeny, Zeny - 5000;
  90. warpparty "bossnia_0"+.@room,rand(199,200),rand(199,200),getcharid(1);
  91. end;
  92. }
  93. }
  94. close;
  95.  
  96. function CheckBaseLevel {
  97. set .@Leader,getpartyleader( getarg(0),1 );
  98. getpartymember getarg(0),2;
  99. for( set .@i,0; .@i < $@partymembercount; set .@i,.@i + 1 )
  100. if( attachrid( $@partymemberaid[.@i] ) )
  101. if( BaseLevel < 150 ){
  102. attachrid(.@Leader);
  103. return 0;
  104. }
  105. return 1;
  106. }
  107.  
  108. OnPCDieEvent:
  109. if( compare( strcharinfo(3),"bossnia_0" ) ){
  110. warpparty "prontera",155,181,getcharid(1);
  111. }
  112. end;
  113. }
  114.  
  115. bossnia_01 mapflag partylock
  116. bossnia_02 mapflag partylock
  117. bossnia_03 mapflag partylock
  118. bossnia_04 mapflag partylock
  119. bossnia_01 mapflag pvp
  120. bossnia_02 mapflag pvp
  121. bossnia_03 mapflag pvp
  122. bossnia_04 mapflag pvp
Advertisement
Add Comment
Please, Sign In to add comment