What about a quest npc, that randomly moves to new areas over a period of time?If you don't want to move it..
#IF
!IsOnCastleWar [SABUK]
#SAY
etc etc
[@_startup]
#CALL [System\SpeakingClock.txt] @SpeakingClock
;;;;;;;;;;;;;;;;;;;;;;;;;;
[@SpeakingClock]
{
#ACT
TimeCall 10 00 @Its1000
TimeCall 10 30 @Its1030
TimeCall 11 00 @Its1100
TimeCall 11 30 @Its1130
TimeCall 12 00 @Its1200
[@Its1000]
#ACT
Speak "Its 10:00"
[@Its1030]
#ACT
Speak "Its 10:30"
[@Its1100]
#ACT
Speak "Its 11:00"
[@Its1130]
#ACT
Speak "Its 11:30"
[@Its1200]
#ACT
Speak "Its 12:00"
}
;;;;;;;;;;;;;;;;;
[@_Startup]
#ACT
TimeCall 00 00 @ShoutTheTime(Midnight)
TimeCall 01 00 @ShoutTheTime(1 am)
TimeCall 02 00 @ShoutTheTime(2 am)
TimeCall 03 00 @ShoutTheTime(3 am)
TimeCall 04 00 @ShoutTheTime(4 am)
etc
etc
[@ShoutTheTime()]
#IF
DayOfWeek Mon ;If you only want it to run this section on a Monday etc
#ACT
Mov A1 %ARG(1)
LineMsg [Grobal] "The Time is <$OUTPUT(A1)>"
[@_Startup]
#ACT
TimeCall 20 00 @EventOpen
[@EventOpen]
#ACT
LineMsg [Grobal] "The Event Is Now Open. Please Teleport To The Event Room"
But you need a player to click the script to activate it right? i want it to anounce when its that time automaticallyIf you are just checking the time use..
Code:#IF Min 00 10 Hour 20 20 #SAY Its Between 20:00 and 20:10
[@Main]
#IF
Min 00 10
Hour 20 20
#SAY
<[ Enter the Event ]/@EnterEvent>\
[@EnterEvent]
#ACT
Map E004
[@_Startup]
#ACT
TimeCall 20 00 @EventOpen
[@EventOpen]
#ACT
LineMsg [Grobal] "The Event Is Now Open For 10 Minutes. Please Teleport To The Event Room using the Event NPC"