Rebirht Error

Mu online season 21 - grand opening

DiabloVodkaShot

LOMCN VIP
VIP
Feb 20, 2009
2,285
204
245
The players can rebirth twice but not a 3rd time.

Script:


[@main]
#IF
Check [900] 0
#ACT
goto @Rebirth

#IF
check [901] 1
#act
GOTO @reb2

#IF
check [902] 1
#ACT
GOTO @reb3

#IF
Check [903] 1
#act
goto @reb4

#IF
Check [904] 1
#ACT
Goto @reb5

#IF
check [905] 1
#ACT
Goto @doneall

[@doneall]
There are no more rebirths left for you sorry.

[@rebirth]
#IF
Checklevelex > 99
#SAY
Hello <$USERNAME> i see you have chosen now to rebirth\
wise choose let me explain how this system is going to\
work.\
You Can Rebirth up to 5 times.\
And every time you rebirth you get a rebirth item.\
With good stats so that it is something to work for\
However when you have Rebirthed 5 times you shall unlock\
<Read On/@goon>
#ELSESAY
You are not high enough level to use this.\
Please return when you are level 100.

[@goon]
#SAY
A hole new world that you can discover new caves new shops\
new magics you will unlock a Town with up to 50 caves linked\
to it Rebirthing is another word for commiting yourself to the\
gods.\
<I'll do it/@doit>

[@doit]
#IF
checklevelex > 99
#ACT
SET [900] 1
#SAY
So your here for your first rebirth on your first refine you will\
Recieve 1 new Rebirth Ring\
<I'll Do it/@doreb1>
#ELSESAY
So your here for your first rebirth on your first refine you will\
Recieve 1 new Rebirth Ring\
<I'll Do it/@doreb1>

[@doreb1]
#if
checkrenewlevel = 0
#ACT
Give RebirthRing
Renewlevel 1 20 0
Set [901] 1
SENDMSG 0 "<$USERNAME> HAS Rebirthed for the 1st time Congratulations "
#SAY
hope to see you back soon
#ElseSay
Your the wrong level

[@reb2]
#SAY
Hello <$USERNAME>, would you like to rebirth for the second time?\ \
<Yes please/@reb22>\
<Close/@exit>

[@reb22]
#IF
Checklevelex > 99
CheckRenewlevel = 1
#ACT
SET [902] 1
Give RebirthBrace
Renewlevel 2 20 0
SENDMSG 0 " <$USERNAME> Has Rebirthed for The Second Time !! Congratulations!!"
#SAY
hope to see you back soon
#elsesay
Your the Wrong Level.

[@reb3]
#SAY
Hello <$USERNAME>, would you like to rebirth for the third time?\ \
<Yes please/@reb33>\
<Close/@exit>

[@reb33]
#IF
Checklevelex > 99
checkrenewlevel = 2
#ACT
SET [903] 1
Give Rebirthnecklace
Renewlevel 3 20 0
SENDMSG 0 " <$USERNAME> Has Rebirthed for the third Time!! Congratulations!!"
#Say
Hope To See You Soon
#ELSESAY
Your the Wrong Level

[@reb4]
#SAY
Hello <$USERNAME>, would you like to rebirth for the forth time?\ \
<Yes please/@reb44>\
<Close/@exit>

[@reb44]
#IF
Checklevelex > 99
checkrenewlevel = 3
#ACT
set [904] 1
Give RebirthHelmet
Give 100mScroll
ADDNAMELIST REBIRTH5.TXT
Renewlevel 4 20 0
SENDMSG 0 "<$USERNAME> Has Rebirthed for the forth Time !! Congratulations!!"
sendmsg 6 "<$USERNAME> Thanks for Rebirthing for the final time please level on!"
#say
Hope To see you soon
#ELSESAY
Sorry your the wrong level

[@reb5]
#SAY
Hello <$USERNAME>, You will need to Advance Rebirht.
 

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
45
@main]
#IF
CHECK [905] 1
#ACT
GOTO @doneall
BREAK

#IF
CHECK [904] 1
#ACT
GOTO @reb5
BREAK

#IF
CHECK [903] 1
#ACT
GOTO @reb4
BREAK

#IF
CHECK [902] 1
#ACT
GOTO @reb3
BREAK

#IF
CHECK [901] 1
#ACT
GOTO @reb2
BREAK

#IF
CHECK [900] 0
#ACT
GOTO @Rebirth
BREAK

[@doneall]
#SAY
Sorry <$USERNAME>.\
It would appear that you have completed all of the rebirth levels.\
You are just to powerful.....\ \

<Exit/@exit>

[@rebirth]
#IF
CHECKLEVEL > 99
#SAY
Hello <$USERNAME> i see you have chosen now to rebirth\
wise choose let me explain how this system is going to\
work.\
You Can Rebirth up to 5 times.\
And every time you rebirth you get a rebirth item.\
With good stats so that it is something to work for\
However when you have Rebirthed 5 times you shall unlock\
<Read On/@goon>

#ELSESAY
You are not high enough level to use this.\
Please return when you are level 100.

[@goon]
#SAY
A hole new world that you can discover new caves new shops\
new magics you will unlock a Town with up to 50 caves linked\
to it Rebirthing is another word for commiting yourself to the\
gods.\

<I'll do it/@doit>

[@doit]
#IF
CHECKLEVEL > 99
#ACT
SET [900] 1

#SAY
So your here for your first rebirth on your first refine you will\
Recieve 1 new Rebirth Ring\
<I'll Do it/@doreb1>

#ELSESAY
So your here for your first rebirth on your first refine you will\
Recieve 1 new Rebirth Ring\
<I'll Do it/@doreb1>

[@doreb1]
#IF
CHECKRENEWLEVEL = 0
#ACT
Give RebirthRing
Renewlevel 1 20 0
Set [901] 1
SENDMSG 0 "<$USERNAME> HAS Rebirthed for the 1st time Congratulations "

#SAY
hope to see you back soon

#ElseSay
Your the wrong level

[@reb2]
#SAY
Hello <$USERNAME>, would you like to rebirth for the second time?\ \
<Yes please/@reb22>\
<Close/@exit>

[@reb22]
#IF
CHECKLEVEL > 99
CHECKRENEWLEVEL = 1
#ACT
SET [902] 1
Give RebirthBrace
Renewlevel 2 20 0
SENDMSG 0 " <$USERNAME> Has Rebirthed for The Second Time !! Congratulations!!"
#SAY
hope to see you back soon
#elsesay
Your the Wrong Level.

[@reb3]
#SAY
Hello <$USERNAME>, would you like to rebirth for the third time?\ \
<Yes please/@reb33>\
<Close/@exit>

[@reb33]
#IF
CHECKLEVEL > 99
CHECKRENEWLEVEL = 2
#ACT
SET [903] 1
Give Rebirthnecklace
Renewlevel 3 20 0
SENDMSG 0 " <$USERNAME> Has Rebirthed for the third Time!! Congratulations!!"
#Say
Hope To See You Soon
#ELSESAY
Your the Wrong Level

[@reb4]
#SAY
Hello <$USERNAME>,\
would you like to rebirth for the forth time?\ \

<Yes please/@reb44>\
<Close/@exit>

[@reb44]
#IF
CHECKLEVEL > 99
CHECKRENEWLEVEL = 3
#ACT
set [904] 1
Give RebirthHelmet
Give 100mScroll
ADDNAMELIST REBIRTH5.TXT
Renewlevel 4 20 0
SENDMSG 0 "<$USERNAME> Has Rebirthed for the forth Time !! Congratulations!!"
sendmsg 6 "<$USERNAME> Thanks for Rebirthing for the final time please level on!"
#say
Hope To see you soon
#ELSESAY
Sorry your the wrong level

[@reb5]
#SAY
Hello <$USERNAME>,\
You will need to Advance Rebirth.\ \

<Exit/@exit>
 
Upvote 0

Bon

Legend
Legendary
Jul 29, 2004
6,741
342
330
Kent, UK
its because each time u rebirth your adding renewlevels onto the character.. it dont reset em

Change ur renewlevel lines so its this every time:

Renewlevel 1 20 0


so each go it will +1 ur renewlevel


atm its goin

+1 +2 +3 +4 +5

=level 1---- 3---6---10----15


so when it checks ur renewlevel at stage 3... checkin if ur renew level 2... its sayin no because ur really renewlevel 3!
 
Upvote 0