[@clearsday]
#iF
dayofweek Sun
#ACT
clearnamelist ...\market_def\Days\Monday.txt
clearnamelist ...\market_def\Days\Tuesday.txt
clearnamelist ...\market_def\Days\Wednesday.txt
clearnamelist ...\market_def\Days\Thursday.txt
clearnamelist ...\market_def\Days\Friday.txt
clearnamelist ...\market_def\Days\Saturday.txt
clearnamelist ...\market_def\Days\Sunday.txt
clearnamelist ...\market_def\Days\prizegot.txt
#ELSEACT
break
close

[@upgrade]
#IF
DAYOFWEEK SUN
Hour 9	9
#ACT
clearnamelist .../market_def/Upgrade/telenpcu
clearnamelist .../market_def/Upgrade/escapeu
#ELSEACT
break
close


[@Poison]
#IF
CHECKMONMAP POISON1 1
#ACT
SENDALLMSG  "PoisonKing is already alive. No one dares to challange him ? " 3
#ELSEACT
SENDALLMSG  "PoisonKing has ressurected. Who dares to challange him ? " 3
Param1 POISON1
Param2 14
Param3 14
Mongen PoisonKing 1
BREAK
CLOSE

[@reboot]
#IF
DAYOFWEEK THU
#ACT
SENDALLMSG  "Hello Mirians." 3
SENDALLMSG  "Server maintenance will start in approximately 1 hour." 3
SENDALLMSG  "Please log out safely. Thank you." 3
SENDALLMSG  "Server maintenance will last for approximately 30 mins" 3
SENDALLMSG  "Please refer to website for detailed schedule. Thank you." 3
#ELSEACT
BREAK
CLOSE

[@reboot1]
#IF
DAYOFWEEK THU
#ACT
SENDALLMSG  "Hello Mirians." 3
SENDALLMSG  "Server maintenance will start in approximately 45 mins." 3
SENDALLMSG  "Please log out safely. Thank you." 3
SENDALLMSG  "Server maintenance will last for approximately 30 mins" 3
SENDALLMSG  "Please refer to website for detailed schedule. Thank you." 3
#ELSEACT
BREAK
CLOSE

[@reboot2]
#IF
DAYOFWEEK THU
#ACT
SENDALLMSG  "Hello Mirians." 3
SENDALLMSG  "Server maintenance will start in approximately 30 mins." 3
SENDALLMSG  "Please log out safely. Thank you." 3
SENDALLMSG  "Server maintenance will last for approximately 30 mins" 3
SENDALLMSG  "Please refer to website for detailed schedule. Thank you." 3
#ELSEACT
BREAK
CLOSE

[@reboot3]
#IF
DAYOFWEEK THU
#ACT
SENDALLMSG  "Hello Mirians." 3
SENDALLMSG  "Server maintenance will start in approximately 5 mins." 3
SENDALLMSG  "Please log out safely. Thank you." 3
SENDALLMSG  "Server maintenance will last for approximately 30 mins" 3
SENDALLMSG  "Please refer to website for detailed schedule. Thank you." 3
#ELSEACT
BREAK
CLOSE




[@Sw]
#IF
ISCASTLEWAR
#ACT
GMEXECUTE MISSION 3 639 286
Param1 Poison1
Param2 14
Param3 14
Mongen FlamingWooma 5
#ELSEACT
BREAK
CLOSE

[@OW]
#ACT
GMEXECUTE MISSION 0 577 177
Param1 0
Param2 435
Param3 543
Mongen OmaCart 1
SENDALLMSG "Bichon OmaCart is now underway to deliver!" 7
#ELSEACT
BREAK
CLOSE

[@OF]
#ACT
GMEXECUTE MISSION 0 577 177
Param1 0
Param2 435
Param3 543
Mongen OmaTroll 2
SENDALLMSG "O'may have Bichon OmaCart sent word for Help!" 7
#ELSEACT
BREAK
CLOSE

[@lms]
#IF
DAYOFWEEK TUE
HOUR 20 20
#ACT
SENDALLMSG "LastManStanding is open! You have 10 mins to sign up!" 5
BREAK
CLOSE

[@lmscall]
#IF
DAYOFWEEK TUE
#ACT
SENDALLMSG "LastManStanding has started Fight Away!" 5
BREAK
CLOSE

[@inc]
#IF
DAYOFWEEK SUN
#ACT
SENDALLMSG "RiseofPhoenix Instance System is open." 6
SENDALLMSG "One Group has 10 mins to get in!" 6
BREAK
CLOSE

[@inc2]
#IF
DAYOFWEEK MON
#ACT
SENDALLMSG "RiseofPhoenix Instance System is open." 6
SENDALLMSG "One Group has 10 mins to get in!" 6
BREAK
CLOSE

[@inc3]
#IF
DAYOFWEEK TUE
#ACT
SENDALLMSG "RiseofPhoenix Instance System is open." 6
SENDALLMSG "One Group has 10 mins to get in!" 6
BREAK
CLOSE

[@inc4]
#IF
DAYOFWEEK WED
#ACT
SENDALLMSG "RiseofPhoenix Instance System is open." 6
SENDALLMSG "One Group has 10 mins to get in!" 6
BREAK
CLOSE

[@inc5]
#IF
DAYOFWEEK THU
#ACT
SENDALLMSG "RiseofPhoenix Instance System is open." 6
SENDALLMSG "One Group has 10 mins to get in!" 6
BREAK
CLOSE

[@inc6]
#IF
DAYOFWEEK FRI
#ACT
SENDALLMSG "RiseofPhoenix Instance System is open." 6
SENDALLMSG "One Group has 10 mins to get in!" 6
BREAK
CLOSE

[@inc7]
#IF
DAYOFWEEK SAT
#ACT
SENDALLMSG "RiseofPhoenix Instance System is open." 6
SENDALLMSG "One Group has 10 mins to get in!" 6
BREAK
CLOSE

;;SW starts

[@sws]
#IF
DAYOFWEEK SUN
;8:00pm
HOUR 15 15
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has started." 6
BREAK
CLOSE

[@swm]
#IF
DAYOFWEEK MON
;8:00pm
HOUR 15 15
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has started." 6
BREAK
CLOSE

[@swt]
#IF
DAYOFWEEK TUE
;8:00pm
HOUR 15 15
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has started." 6
BREAK
CLOSE

[@sww]
#IF
DAYOFWEEK WED
;8:00pm
HOUR 15 15
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has started." 6
BREAK
CLOSE

[@swtu]
#IF
DAYOFWEEK THU
;8:00pm
HOUR 15 15
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has started." 6
BREAK
CLOSE

[@swf]
#IF
DAYOFWEEK FRI
;8:00pm
HOUR 15 15
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has started." 6
BREAK
CLOSE

[@swsa]
#IF
DAYOFWEEK SAT
;8:00pm
HOUR 15 15
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has started." 6
BREAK
CLOSE


;;Sw ends
[@swse]
#IF
DAYOFWEEK SUN
;9:00pm
HOUR 16 16
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has ended." 6
BREAK
CLOSE

[@swme]
#IF
DAYOFWEEK MON
;9:00pm
HOUR 16 16
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has ended." 6
BREAK
CLOSE

[@swte]
#IF
DAYOFWEEK TUE
;9:00pm
HOUR 16 16
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has ended." 6
BREAK
CLOSE

[@swwe]
#IF
DAYOFWEEK WED
;9:00pm
HOUR 16 16
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has ended." 6
BREAK
CLOSE

[@swtue]
#IF
DAYOFWEEK THU
;9:00pm
HOUR 16 16
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has ended." 6
BREAK
CLOSE

[@swfe]
#IF
DAYOFWEEK FRI
;9:00pm
HOUR 16 16
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has ended." 6
BREAK
CLOSE

[@swsae]
#IF
DAYOFWEEK SAT
;9:00pm
HOUR 16 16
#ACT
GMEXECUTE ForcedWallconquestWar
SENDALLMSG "Todays Sw Warr has ended." 6
BREAK
CLOSE

;;SwResets

[@swClear1]
#IF
DAYOFWEEK SUN
;7:55pm
HOUR 14 15
MIN 55 00
#ACT
GMEXECUTE ChangeSabukLord  SabukHolder
SENDALLMSG "Todays Sw Warr Will start soon." 6
BREAK
CLOSE


[@swClear2]
#IF
DAYOFWEEK MON
;7:55pm
HOUR 14 15
MIN 55 00
#ACT
GMEXECUTE ChangeSabukLord  SabukHolder
SENDALLMSG "Todays Sw Warr Will start soon." 6
BREAK
CLOSE

[@swClear3]
#IF
DAYOFWEEK TUE
;7:55pm
HOUR 14 15
MIN 55 00
#ACT
GMEXECUTE ChangeSabukLord  SabukHolder
SENDALLMSG "Todays Sw Warr Will start soon." 6
BREAK
CLOSE

[@swClear4]
#IF
DAYOFWEEK WED
;7:55pm
HOUR 14 15
MIN 55 00
#ACT
GMEXECUTE ChangeSabukLord  SabukHolder
SENDALLMSG "Todays Sw Warr Will start soon." 6
BREAK
CLOSE

[@swClear5]
#IF
DAYOFWEEK THU
;7:55pm
HOUR 14 15
MIN 55 00
#ACT
GMEXECUTE ChangeSabukLord  SabukHolder
SENDALLMSG "Todays Sw Warr Will start soon." 6
BREAK
CLOSE

[@swClear6]
#IF
DAYOFWEEK FRI
;7:55pm
HOUR 14 15
MIN 55 00
#ACT
GMEXECUTE ChangeSabukLord  SabukHolder
SENDALLMSG "Todays Sw Warr Will start soon." 6
BREAK
CLOSE

[@swClear7]
#IF
DAYOFWEEK SAT
;7:55pm
HOUR 14 15
MIN 55 00
#ACT
GMEXECUTE ChangeSabukLord  SabukHolder
SENDALLMSG "Todays Sw Warr Will start soon." 6
BREAK
CLOSE

[@SwCount]
#IF
ISCASTLEWAR
ISCASTLEGUILD
DAYOFWEEK SUN
;9:00pm
#ACT
ADDGUILDNAMELIST   ../Market_def/SwElite/Sun.txt
BREAK
CLOSE

[@SwCount1]
#IF
ISCASTLEWAR
ISCASTLEGUILD
DAYOFWEEK MON
#ACT
ADDGUILDNAMELIST   ../Market_def/SwElite/MON.txt
BREAK
CLOSE

[@SwCount2]
#IF
ISCASTLEWAR
ISCASTLEGUILD
DAYOFWEEK TUE
;9:00pm
#ACT
ADDGUILDNAMELIST   ../Market_def/SwElite/TUE.txt
BREAK
CLOSE

[@SwCunt3]
#IF
ISCASTLEWAR
ISCASTLEGUILD
DAYOFWEEK WED
;9:00pm
#ACT
ADDGUILDNAMELIST   ../Market_def/SwElite/WED.txt
BREAK
CLOSE

[@SwCount4]
#IF
ISCASTLEWAR
ISCASTLEGUILD
DAYOFWEEK THU
#ACT
ADDGUILDNAMELIST   ../Market_def/SwElite/THU.txt
BREAK
CLOSE

[@SwCount5]
#IF
ISCASTLEWAR
ISCASTLEGUILD
DAYOFWEEK FRI
;9:00pm
#ACT
ADDGUILDNAMELIST   ../Market_def/SwElite/FRI.txt
BREAK
CLOSE

[@SwCount6]
#IF
ISCASTLEWAR
ISCASTLEGUILD
DAYOFWEEK SAT
#ACT
ADDGUILDNAMELIST   ../Market_def/SwElite/SAT.txt
BREAK
CLOSE

[@SwFix]
#IF
HOUR 15 15
MIN 59 00
#ACT
GMEXECUTE repaircastlewalls
BREAK
CLOSE


[@swquest]
#IF 
CHECKVAR Guild Count > 1
#ACT
CalcVar Guild Count = 0
SENDMSG "Guild kills reset!" 3
BREAK
CLOSE


[@sabukclear]
#IF
#ACT
clearnamelist ...\market_def\Sabuk\prizegot.txt
