Npc starts at a certain time

Mu online season 21 - grand opening

mirlin6

Golden Oldie
Golden Oldie
Aug 11, 2004
532
3
104
United Kingdom
i want to make my npc only work at a certain time so like

DAYOFWEEK FRI

and start it at 2:30pm

whats the comand to put time into the npc?

thanks
 

Geordiehc

Mad Dog Geo
VIP
Jul 4, 2007
2,827
49
175
Redditch, UK
i want to make my npc only work at a certain time so like

DAYOFWEEK FRI

and start it at 2:30pm

whats the comand to put time into the npc?

thanks
On mine iv got
[@main]
#IF
HOUR 10
#ACT
goto @SR
#IF
HOUR 11
#ACT
goto @SR
#IF
HOUR 12
#ACT
goto @SR
#IF
HOUR 22
#ACT
goto @SR
#IF
HOUR 23
#ACT
goto @SR
#IF
HOUR 00
#ACT
goto @SR
#IF
#SAY
{FCOLOR/1}¨X©¬©¬©¬©¬©¬©¬©¬©¬©¬©¬©¬©¬¨[\
©®{FCOLOR/11} www.TianServer.co.nr {FCOLOR/1} ©®\
¨^©¬©¬©¬©¬©¬©¬©¬©¬©¬©¬©¬©¬¨a\{FCOLOR/8}
SR will open from 10am until 12am\
and then again from 10pm until 12pm\\
[@SR]
#SAY
#INCLUDE [..\Convert_Def\Market_Def\09Repair_Silnak-1.txt] @Convert_09Repair_Silnak-1_0

I dont think ive tested it fully yet but i think all your after is the command anyways.
 
Upvote 0

chimera

LOMCN VIP
VIP
Jul 30, 2003
1,054
23
215
UK
i want to make my npc only work at a certain time so like

DAYOFWEEK FRI

and start it at 2:30pm

whats the comand to put time into the npc?

thanks

[@scripthame]
#IF
DAYOFWEEK FRI
HOUR 14
MIN 30
#ACT
do whatever.....
#ELSEACT
DELAYGOTO [local] 15 @scriptname
 
Upvote 0