hum can some1 help with an npc?

johnyl1

Golden Oldie
Golden Oldie
Apr 24, 2003
755
42
165
Portugal
i need an npc that teleport's u to a place at but only at a certain hour, like every 08:00 , 10:00 , 12:00 , 17:00, 21:00, 00:00. this is possible right?
 

transporter

LOMCN Veteran
Veteran
Jul 12, 2008
608
8
105
Darlington
i need an npc that teleport's u to a place at but only at a certain hour, like every 08:00 , 10:00 , 12:00 , 17:00, 21:00, 00:00. this is possible right?



for 08.00 you would use

#IF
HOUR 8 9
#ACT
Mapmove 0 233 236
#ELSESAY
Its after 9am \ \
<Close/@exit>

This would let them get recalled in between 8-9 am and then after that it wont recall them

if you want to narrow it down so its not a full hour you can

#IF
HOUR 8 9
Min 00 10
#ACT
Mapmove 0 233 236
#ELSESAY
Its after 8:10 am and you cannot teleport \ \
<Close/@exit>

This gives a 10 minutes gap etc etc.
 
Last edited:
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,969
118
290
Stoke, UK
Isn't it..

Code:
#IF
Hour 8 8
#SAY
Its now between 8:00 and 8:59 (inclusive)\

#IF
Hour 9 9
#SAY
Its now Between 9:00 and 9:59 (inclusive)\

#IF
Hour 10 10
Min 00 30
#SAY
Its now between 10:00 and 10:30 (inclusive)\

At least, thats how Mir 3 works lol.. .. and .. this is related honest :P ReTRon's Mystery Cave is open for 2 hours and which is probably this same issue.
 
Upvote 0

idaBigA

Holley Mir 3!!
VIP
Oct 28, 2003
1,969
118
290
Stoke, UK
Soz bud, but those commands are wrong on jealy's site..

I have just checked it on my M2 server..

Hour 17 18

This works from 17:00 > 18:59

Hour 18 18

This works from 18:00 > 18:59


Like I said, check out Retron's Mystery Cave, it says its open from 6-7pm, but its actually open from 6>8pm as he's probably done the same thing

Hour 18 19


Feel free to test.
 
Upvote 0