LastManStanding

Mu online season 21 - grand opening

Dany97

LOMCN Veteran
Veteran
Aug 28, 2009
650
4
105
Timisoara
[@main]
#SAY
The LastManStanding is a fight. Every class , every level can go in\
The last player on that map is the winner of the Last Man Standing\
People are calling LastManStanding and LMS\
Do you wanna go in?

<Yeah sure!/@next>\
<No, im not ready/@exit\

[@next]
#IF
checkitem ParalysisRing
checkitem ProtectRing
checkitem RevivalRing
checkitem ClearRing
checkitem TeleportRing
checkitemw ParalysisRing
checkitemw ProtectRing
checkitemw RevivalRing
checkitemw ClearRing
checkitemw TeleportRing
Dayofweek MON
Hour 18 18
Min 00 10
#ACT
goto @next
break
#IF
checkitem ParalysisRing
checkitem ProtectRing
checkitem RevivalRing
checkitem ClearRing
checkitem TeleportRing
checkitemw ParalysisRing
checkitemw ProtectRing
checkitemw RevivalRing
checkitemw ClearRing
checkitemw TeleportRing
DayOfWeek TUE
HOUR 18 18
Min 00 10
#ACT
goto @Enter
break
#IF
checkitem ParalysisRing
checkitem ProtectRing
checkitem RevivalRing
checkitem ClearRing
checkitem TeleportRing
checkitemw ParalysisRing
checkitemw ProtectRing
checkitemw RevivalRing
checkitemw ClearRing
checkitemw TeleportRing
DayOfWeek WED
Hour 18 18
Min 00 10
#ACT
goto @enter
break
#IF
checkitem ParalysisRing
checkitem ProtectRing
checkitem RevivalRing
checkitem ClearRing
checkitem TeleportRing
checkitemw ParalysisRing
checkitemw ProtectRing
checkitemw RevivalRing
checkitemw ClearRing
checkitemw TeleportRing
DayOfweek Thu
Hour 18 18
Min 00 10
#ACT
goto @enter
break
#IF
checkitem ParalysisRing
checkitem ProtectRing
checkitem RevivalRing
checkitem ClearRing
checkitem TeleportRing
checkitemw ParalysisRing
checkitemw ProtectRing
checkitemw RevivalRing
checkitemw ClearRing
checkitemw TeleportRing
Dayofweek Fri
Hour 18 18
Min 00 10
#ACT
goto @enter
break
#IF
checkitem ParalysisRing
checkitem ProtectRing
checkitem RevivalRing
checkitem ClearRing
checkitem TeleportRing
checkitemw ParalysisRing
checkitemw ProtectRing
checkitemw RevivalRing
checkitemw ClearRing
checkitemw TeleportRing
DayOfweek SAT
Hour 18 18
Min 00 10
#ACT
goto @enter
break
#IF
checkitem ParalysisRing
checkitem ProtectRing
checkitem RevivalRing
checkitem ClearRing
checkitem TeleportRing
checkitemw ParalysisRing
checkitemw ProtectRing
checkitemw RevivalRing
checkitemw ClearRing
checkitemw TeleportRing
Dayofweek SUN
Hour 18 18
Min 00 10
#ACT
goto @enter
break
#Elsesay
It seems like you are wearing a special ring or you are \
to late to enter the LMS
[@enter]
#IF
checknamelist LMSWinner1.txt
#ACT
goto @kit
break
#IF
Checknamelist LMSWinner2.txt
#ACT
goto @kit
break
#IF
checknamelist LMSWinner3.txt
#ACT
goto @kit
break
#IF
checknamelist LMSWinner4.txt
#ACT
goto @kit
break
[@kit]
#IF
checklevel >20
checklevel <35
#ACT
goto @takekit1
#IF
checklevel >35
checklevel <50
#ACT
goto @takekit2
#IF
checklevel >50
#ACT
goto @takekit3

[@takekit1]
#SAY
Hello <$playername> what LMS item you want to have for one day?
<LMSArmour(S)( <Enter the stats you want>)/@armour>\
<LMsWeapon(S)( <Enter the stats you want>)/@weapon>\
<LMSRing(S)( <Enter the stats you want>)/@ring>\
<LMSNeck(S)( <Enter the stats you want>)/@neck>\
<LMSBrace(S)( <Enter the stats you want>)/@brace>\

[@takekit2]
#SAY
Hello <$playername> what LMS item you want to have for one day?
<LMSArmour(M)( <Enter the stats you want>)/@armour1>\
<LMsWeapon(M)( <Enter the stats you want>)/@weapon1>\
<LMSRing(M)( <Enter the stats you want>)/@ring1>\
<LMSNeck(M)( <Enter the stats you want>)/@neck1>\
<LMSBrace(M)( <Enter the stats you want>)/@brace1>\

[@takekit3]
#SAY
Hello <$playername> what LMS item you want to have for one day?
<LMSArmour(L)( <Enter the stats you want>)/@armour2>\
<LMsWeapon(L)( <Enter the stats you want>)/@weapon2>\
<LMSRing(L)( <Enter the stats you want>)/@ring2>\
<LMSNeck(L)( <Enter the stats you want>)/@neck2>\
<LMSBrace(L)( <Enter the stats you want>)/@brace2>\

[@armour]
#IF
checkgender Male
#ACT
give LMSArmour(S)(M)
[@armour]
#IF
checkgender Woman
give LMSArmour(S)(F)
[@weapon]
#IF
#ACT
give LmsWeapon(S)
[@ring]
#IF
#ACT
give LMSRing(S)
[@neck]
#IF
#ACT
give LMSNeck(S)
[@brace]
#IF
#ACT
give LMSBrace(S)


[@armour1]
#IF
checkgender Male
#ACT
give LMSArmour(M)(M)
[@armour1]
#IF
checkgender Woman
give LMSArmour(M)(F)

[@weapon1]
#IF
#ACT
give LmsWeapon(M)
[@ring1]
#IF
#ACT
give LMSRing(M)
[@neck1]
#IF
#ACT
give LMSNeck(M)
[@brace1]
#IF
#ACT
give LMSBrace(M)

[@armour1]
#IF
checkgender Male
#ACT
give LMSArmour(L)(M)
[@armour1]
#IF
checkgender Woman
give LMSArmour(L)(F)

[@weapon2]
#IF
#ACT
give LmsWeapon(L)
[@ring2]
#IF
#ACT
give LMSRing(L)
[@neck2]
#IF
#ACT
give LMSNeck(L)
[@brace2]
#IF
#ACT
give LMSBrace(L)

Am i doing something wrong? Just asking because i don't have how to check it lol .. If im doing something wrong pls tell me .
Thanks :)
 

Chris22

LOMCN Veteran
Veteran
Jun 10, 2009
372
1
45
Am i doing something wrong? Just asking because i don't have how to check it lol .. If im doing something wrong pls tell me .
Thanks :)

What are you NOT doing wrong :blink: :laugh:

EDIT: Ok i feel sorry for you heres half of it done for you...

[@main]
The LastManStanding is a fight. Every class , every level can go in\
The last player on that map is the winner of the Last Man Standing\
People are calling LastManStanding and LMS\
Do you wanna go in?

<Yeah sure!/@Check>\
<No, im not ready/@exit\

[@check]
#IF
checkitem ParalysisRing
checkitem ProtectRing
checkitem RevivalRing
checkitem ClearRing
checkitem TeleportRing
checkitemw ParalysisRing
checkitemw ProtectRing
checkitemw RevivalRing
checkitemw ClearRing
checkitemw TeleportRing
#SAY
You have a forbidden item...
#ELSEACT
goto @next

[@next]
#IF
Dayofweek MON
Hour 18 18
Min 00 10
#ACT
goto @enter
#IF
DayOfWeek TUE
HOUR 18 18
Min 00 10
#ACT
goto @enter
#IF
DayOfWeek WED
Hour 18 18
Min 00 10
#ACT
goto @enter
#IF
DayOfweek Thu
Hour 18 18
Min 00 10
#ACT
goto @enter
#IF
Dayofweek Fri
Hour 18 18
Min 00 10
#ACT
goto @enter
#IF
DayOfweek SAT
Hour 18 18
Min 00 10
#ACT
goto @enter
#IF
Dayofweek SUN
Hour 18 18
Min 00 10
#ACT
goto @enter
#ELSESAY
It seems like you are wearing a special ring or you are \
to late to enter the LMS

Ok now at this point the @enter should lead to a script teleing the players into the battleground, yours just leads to a script checking if they have won the contest.....when it hasnt begun ? :/
You will need another npc or seperate script on this npc to check for the winner for example...

[@main]
The LastManStanding is a fight. Every class , every level can go in\
The last player on that map is the winner of the Last Man Standing\
People are calling LastManStanding and LMS\
Do you wanna go in?

<Yeah sure!/@Check>\
<Ive just won id like my prize/@prize>\
<No, im not ready/@exit\

And then the rest of your script eg.

[@prize]
#IF
checknamelist LMSWinner1.txt
#ACT
goto @kit
break
#IF
Checknamelist LMSWinner2.txt
#ACT
goto @kit
break
#IF
checknamelist LMSWinner3.txt
#ACT
goto @kit
break
#IF
checknamelist LMSWinner4.txt
#ACT
goto @kit
break
[@kit]
#IF
checklevel >20
checklevel <35
#ACT
goto @takekit1
#IF
checklevel >35
checklevel <50
#ACT
goto @takekit2
#IF
checklevel >50
#ACT
goto @takekit3

[@takekit1]
#SAY
Hello <$USERNAME> what LMS item you want to have for one day?
<LMSArmour(S)( <Enter the stats you want>)/@armour>\
<LMsWeapon(S)( <Enter the stats you want>)/@weapon>\
<LMSRing(S)( <Enter the stats you want>)/@ring>\
<LMSNeck(S)( <Enter the stats you want>)/@neck>\
<LMSBrace(S)( <Enter the stats you want>)/@brace>\

[@takekit2]
#SAY
Hello <$USERNAME> what LMS item you want to have for one day?
<LMSArmour(M)( <Enter the stats you want>)/@armour1>\
<LMsWeapon(M)( <Enter the stats you want>)/@weapon1>\
<LMSRing(M)( <Enter the stats you want>)/@ring1>\
<LMSNeck(M)( <Enter the stats you want>)/@neck1>\
<LMSBrace(M)( <Enter the stats you want>)/@brace1>\

[@takekit3]
#SAY
Hello <$USERNAME> what LMS item you want to have for one day?
<LMSArmour(L)( <Enter the stats you want>)/@armour2>\
<LMsWeapon(L)( <Enter the stats you want>)/@weapon2>\
<LMSRing(L)( <Enter the stats you want>)/@ring2>\
<LMSNeck(L)( <Enter the stats you want>)/@neck2>\
<LMSBrace(L)( <Enter the stats you want>)/@brace2>\

[@armour]
#IF
checkgender Male
#ACT
give LMSArmour(S)(M)
#IF
checkgender Female
give LMSArmour(S)(F)
[@weapon]
#ACT
give LmsWeapon(S)
[@ring]
#ACT
give LMSRing(S)
[@neck]
#ACT
give LMSNeck(S)
[@brace]
#ACT
give LMSBrace(S)

[@armour1]
#IF
checkgender Male
#ACT
give LMSArmour(M)(M)
#IF
checkgender Woman
give LMSArmour(M)(F)
[@weapon1]
#ACT
give LmsWeapon(M)
[@ring1]
#ACT
give LMSRing(M)
[@neck1]
#ACT
give LMSNeck(M)
[@brace1]
#ACT
give LMSBrace(M)

[@armour2]
#IF
checkgender Male
#ACT
give LMSArmour(L)(M)
#IF
checkgender Woman
give LMSArmour(L)(F)
[@weapon2]
#ACT
give LmsWeapon(L)
[@ring2]
#ACT
give LMSRing(L)
[@neck2]
#ACT
give LMSNeck(L)
[@brace2]
#ACT
give LMSBrace(L)

You might also want to add on the end of your #ACT after giving the items out, a script that adds there name to a list and then an #IF to check if they have had there prize otherwise they can just keep claiming them over and over.
You also dont have a script adding the winner to the txt file, another thing to keep in mind -_-.

Last man standing scripts are very difficult and by the looks of your script you are very new to scripting, i would really start off with a much simpler script like a tele npc, and work your way up, it looks like you have jumped in at the deep end to me...
 
Last edited:
Upvote 0