#IF Statement help please

smoochy boys on tour

CandyMan

LOMCN Veteran
Veteran
Dec 29, 2004
330
1
65
Middlesbrough
Hi, im trying to make a lastmandstanding NPC, I want it so it will be available on a certain time at a certain date.
I cant seem to understand what the if + act statements mean.

ive wrote this in my NPC script

#IF
DAYOFWEEK SUN
HOUR 22 23
MIN 04 06


22 (Meaning 10PM) 23 (Meaning 11PM)

10-11PM.

Minute 04 (4TH Minute Past 10) - 06 (6TH Minute Past 10) you can teleport into the cave.

Im totally confused and lost of what im doing.
If you get the idea its like

You can enter the event at Sunday's at 10PM.
You can teleport in 5 Minutes before the event starts, But once it hits 10PM you cant teleport in anymore.

If anybody has a fix please post. cheers :D
 

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
that would check to see if it was sunday between 9.55 and 9.59
and if it was would move the player to map xyz
 
Upvote 0

CandyMan

LOMCN Veteran
Veteran
Dec 29, 2004
330
1
65
Middlesbrough
huh? lol.

so its
#IF
DAYOFWEEK SUN
HOUR 18 19
MIN 55 59
#ACT
MapMove T33445 8 16
Give TownTeleport
break

thats what ive wrote in my notepad.
but ive changed the times to test it and it dont seem to be working lol
 
Upvote 0

jasper

Golden Oldie
Golden Oldie
Sep 10, 2005
890
3
125
so its
#IF
DAYOFWEEK SUN
HOUR 18 19
MIN 55 59
#ACT
Map T33445 8 16 (i think its just map)
Give TownTeleport
break
 
Upvote 0

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
195
well im not sounding silly, but you have put it to the date & time which you are testing it at...
 
Upvote 0

CandyMan

LOMCN Veteran
Veteran
Dec 29, 2004
330
1
65
Middlesbrough
Yeh lol

ive been testing it all day with diffrent times
so like right now i would have put

#IF
DAYOFWEEK TUE
HOUR 21 22
MIN 55 59
#ACT
mapmove T33445
Give TownTeleport
break
 
Upvote 0

Amenovis

Golden Oldie
Golden Oldie
Loyal Member
Jan 9, 2006
1,105
0
143
Germany
fire and the other write it ever with map x y z u write it with mapmove x
maybe thats why ??

move a map both it possible to say only the map than ur ppl arived random on a coord on that map or u say map and the coords than all ppl will arive at the same coords

the question is did u need the command map or mapmove (mapmove is from lom3) maybe u need only map i dunno
 
Upvote 0