Lms npc

Join Discord

Anonlol

LOMCN Veteran
Veteran
Feb 25, 2010
574
14
104
Heres what I have so far

LMS in SZ:

Code:
[@main]
#say
Welcome to the BlueNova LMS event. All are welcome - there are\
some simple rules.\\
1/Your bag MUST be empty and NO equipped items.\
2/Pots and gear will be given on entry. \
3/Deva will be removed on entry. However click the NPC after event\
to relearn.\
4/Entry times are 7:50 - 7:59 - All entrants must enter the main \
arena between 8.00 and 8.01.\\
<[EMAIL="Fine/@start"]Fine/@start[/EMAIL]> <[EMAIL="Deva/@Deva"]Deva/@Deva[/EMAIL]>
[@deva]
#if
checknamelist namelists/deva.txt
#act
addskill summonholydeva 3
BREAK
[@start]
#if
CHECKBAGSIZE 40
checkuseitem 1
checkuseitem 2
checkuseitem 3
checkuseitem 4
checkuseitem 5
checkuseitem 6
checkuseitem 7
checkuseitem 8
checkuseitem 9
checkuseitem 10
checkuseitem 11
checkuseitem 12
checkuseitem 13
checkuseitem 14
checkuseitem 15
checkuseitem 16
#act
goto @start1
#Elsesay
Your bag must be clear and you cannot wear ANYTHING.
[@start1]
#IF
HOUR 19 20
#ACT
GOTO @FFA2_2
#ELSESAY
Entry times are 7:50 - 8:00 - Please come back at this time.\\
To see server time type @date.\
<[EMAIL="Exit/@exit"]Exit/@exit[/EMAIL]>
[@FFA2_2]
#IF
MIN 50 59
#ACT
GOTO @FFA2
#ELSESAY
LMS matches take place at 8pm (GMT). To sign \
up to the LMS visit me from 10mins before the contest begins. \ \
<[EMAIL="Exit/@exit"]Exit/@exit[/EMAIL]>
[@FFA2]
#SAY
Welcome <$USERNAME>, you will now be moved to a LMS holding area. At 8.00 you\
have 1 minute to get in, and fight! Last man/woman standing, wins.\\
<[EMAIL="OK/@FFAmove"]OK/@FFAmove[/EMAIL]> || <Not [EMAIL="yet/@exit"]yet/@exit[/EMAIL]>

[@FFAmove]
#IF
checkmagic Summonholydeva
#act
delskill summonholydeva
addnamelist namelists/deva.txt
#if
checkposelevel > 1
#say
You cant be facing anyone.
#elseact
killslave
give lmssword
give lmsarmour(m)
give lmsarmour(f)
mapmove g003

LMS in holding map

Code:
[@main]
#say
Welcome. I will tele you in to the arena between 8-8:01.\\
<Its [EMAIL="time./@start"]time./@start[/EMAIL]> 
[@start]
#if
hour 8
#act
goto @start2
[@start2]
#if
min 0 1
#act
goto @class
[@class]
#IF
CHECKJOB WARRIOR
#ACT
goto @kit
#ELSEACT
goto @class1
[@class1]
#IF
checkjob WIZARD
#act
goto @kit1
#ELSEACT
goto @kit2
[@kit]
#act
give (hp)drugbundle 2
give (mp)drugbundle 1
give randomteleport 2
mapmove g004
[@kit1]
#act
give (hp)drugbundle 1
give (mp)drugbundle 3
give randomteleport 2
mapmove g004
[@kit2]
#act
give (hp)drugbundle 1
give (mp)drugbundle 2
give randomteleport 2
give amulet
mapmove g004

And prize giver is fine, also having some issues with robot. Now the above 2 npcs, dont do what theyre meant to at the specified time. NPC 1 just keeps saying that youre wearing something, and NPC 2 keeps saying its the wrong time.
 

LegendsMir

Dedicated Member
Dedicated Member
Sep 13, 2010
61
1
34
For your second script the time check put this.

#IF
HOUR 19 19
MIN 45 59
#ACT
GOTO @LMS2
#ELSESAY
No enter here you loser!

this will check if the time is 7:45 - 7:59 if it is u can go through.
 
Upvote 0