Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1.  
  2. // Map Flags :
  3.  
  4. schg_cas01 mapflag woe_set 1
  5. schg_cas03 mapflag woe_set 2
  6.  
  7. // Non usable Castles blocked
  8.  
  9. arug_cas01 mapflag blocked
  10. arug_cas02 mapflag blocked
  11. arug_cas03 mapflag blocked
  12. arug_cas04 mapflag blocked
  13. arug_cas05 mapflag blocked
  14.  
  15. //schg_cas01 mapflag blocked
  16. schg_cas02 mapflag blocked
  17. //schg_cas03 mapflag blocked
  18. schg_cas04 mapflag blocked
  19. schg_cas05 mapflag blocked
  20.  
  21. gefg_cas01 mapflag blocked
  22. gefg_cas02 mapflag blocked
  23. gefg_cas03 mapflag blocked
  24. gefg_cas04 mapflag blocked
  25. gefg_cas05 mapflag blocked
  26.  
  27. aldeg_cas01 mapflag blocked
  28. aldeg_cas02 mapflag blocked
  29. aldeg_cas03 mapflag blocked
  30. aldeg_cas04 mapflag blocked
  31. aldeg_cas05 mapflag blocked
  32.  
  33. prtg_cas01 mapflag blocked
  34. prtg_cas02 mapflag blocked
  35. prtg_cas03 mapflag blocked
  36. prtg_cas04 mapflag blocked
  37. prtg_cas05 mapflag blocked
  38.  
  39. payg_cas01 mapflag blocked
  40. payg_cas02 mapflag blocked
  41. payg_cas03 mapflag blocked
  42. payg_cas04 mapflag blocked
  43. payg_cas05 mapflag blocked
  44.  
  45. // Main Script
  46.  
  47. - script Agit_Event -1,{
  48. end;
  49.  
  50. OnAgitInit:
  51. OnClock1100:
  52. OnClock1200:
  53. OnClock1300:
  54. OnClock1400:
  55. switch( gettime(4) )
  56. {
  57. case 0: // Sunday
  58. if( gettime(3) >= 12 && gettime(3) < 14 )
  59. {
  60. if( !agitcheck() )
  61. {
  62. AgitStart 1;
  63. announce "- Himinn's War of Emperium has begun -",bc_all|bc_woe;
  64. }
  65. }
  66. else if( gettime(3) == 14 )
  67. {
  68. if( agitcheck() )
  69. {
  70. AgitEnd;
  71. announce "- Himinn's War of Emperium is over -",bc_all|bc_woe;
  72. }
  73. }
  74. break;
  75. case 6: // Saturday
  76. if( gettime(3) >= 11 && gettime(3) < 13 )
  77. {
  78. if( !agitcheck() )
  79. {
  80. AgitStart 2;
  81. announce "- Vidblain's War of Emperium has begun -",bc_all|bc_woe;
  82. }
  83. }
  84. else if( gettime(3) == 13 )
  85. {
  86. if( agitcheck() )
  87. {
  88. AgitEnd;
  89. announce "- Vidblain's War of Emperium is over -",bc_all|bc_woe;
  90. }
  91. }
  92. break;
  93. }
  94. end;
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement