Rebirth Script Released

twisterdmk

Golden Oldie
Golden Oldie
May 13, 2009
759
28
115
USA
Can you not get the scripting to work? Post some scripts you have and I will help you.
 
Last edited:
Upvote 0

Zordon

Golden Oldie
Golden Oldie
Apr 26, 2008
1,176
20
125
Manchester, UK
i just said gimme a few mins and I'd post the script, so yes that will include the command to check it lmao

Script attached. Like I said needs a little work as just translated it, but yeah should give ya a good start.
 

Attachments

  • Rebirth.txt
    13.9 KB · Views: 175
Last edited:
Upvote 0

twisterdmk

Golden Oldie
Golden Oldie
May 13, 2009
759
28
115
USA
[@Rebirths]
{
#IF
#SAY
<I wish to use Rebirth System/@rebornwithjf> \
<Exit/@exit>

[@rebornwithjf]
#IF
EQUAL USERREBORNCOUNT 0
#say
<I wish to use 500 points and LVL 50/@rebornwithjf1> \
<Leave/@Exit>
#IF
EQUAL USERREBORNCOUNT 1
#say
<I wish to use 1000 points and LVL 100/@rebornwithjf2> \
<Leave/@Exit>
#IF
EQUAL USERREBORNCOUNT 2
#say
<I wish to use 1200 points and LVL 150/@rebornwithjf3> \
<Leave/@Exit>
#IF
EQUAL USERREBORNCOUNT 3
#say
<I wish to use 2000 points and LVL 200/@rebornwithjf4> \
<Leave/@Exit>
#IF
EQUAL USERREBORNCOUNT 4
#say
<I wish to use 3000 points and LVL 300/@rebornwithjf5> \
<Leave/@Exit>
#IF
EQUAL USERREBORNCOUNT 5
#say
<I wish to use 4000 points and LVL 500/@rebornwithjf6> \
<Leave/@Exit>
#IF
EQUAL USERREBORNCOUNT 6
#say
<I wish to use 5000 points and LVL 1000/@rebornwithjf7> \
<Leave/@Exit>

[@rebornwithjf1]
#IF
checkcmd CHECKUSERJF 500
EQUAL USERREBORNCOUNT 0
checklevel 50
#ACT
actcmd SETUSERJF - 500
actcmd SETSUPERCHANGE = 1
goto @GiveExtendArr
EventMsg [Grobal] "<$USERNAME> Has Gotten Rebirth One."
#SAY
The number of your current promotions {FCOLOR/10} <$OUTPUT(USERREBORNCOUNT)> {FCOLOR/12} \
<Close/@EXIT>
#elsesay
You can not cut, possible reasons are as follows: \
1: You have not yet reached the level of promotion requirements, please meet the corresponding level 55 \
2: You may have enough points! \
Please meet the conditions come to my promotion here! \
<Close/@EXIT>

[@rebornwithjf2]
#IF
checkcmd CHECKUSERJF 1000
EQUAL USERREBORNCOUNT 1
checklevel 100
#ACT
actcmd SETUSERJF - 1000
actcmd SETSUPERCHANGE = 2
goto @ GiveExtendArr
EventMsg [Grobal] "<$USERNAME> Has Gotten Rebirth Two."
#SAY
The number of your current promotions {FCOLOR/10} <$OUTPUT(USERREBORNCOUNT)> {FCOLOR/12} \
<Close/@EXIT>
#elsesay
You can not cut, possible reasons are as follows: \
1: You have not yet reached the level of promotion requirements, please meet the corresponding level 60 \
2: You may have enough points! \
Please meet the conditions come to my promotion here! \
<Close/@EXIT>


[@rebornwithjf3]
#IF
checkcmd CHECKUSERJF 1200
EQUAL USERREBORNCOUNT 2
checklevel 150
#ACT
actcmd SETUSERJF - 1200
actcmd SETSUPERCHANGE = 3
goto @GiveExtendArr
EventMsg [Grobal] "<$USERNAME> Has Gotten Rebirth Three."
#SAY
The number of your current promotions {FCOLOR/10} <$OUTPUT(USERREBORNCOUNT)> {FCOLOR/12} \
<Close/@EXIT>
#elsesay
You can not cut, possible reasons are as follows: \
1: You have not yet reached the level of promotion requirements, please meet the corresponding level 63 \
2: You may have enough points! \
Please meet the conditions come to my promotion here! \
<Close/@EXIT>


[@rebornwithjf4]
#IF
checkcmd CHECKUSERJF 2000
EQUAL USERREBORNCOUNT 3
checklevel 200
#ACT
actcmd SETUSERJF - 2000
actcmd SETSUPERCHANGE = 4
goto @GiveExtendAr
EventMsg [Grobal] "<$USERNAME> Has Gotten Rebirth Four."
#SAY
The number of your current promotions {FCOLOR/10} <$OUTPUT(USERREBORNCOUNT)> {FCOLOR/12} \
<Close/@EXIT>
#elsesay
You can not cut, possible reasons are as follows: \
1: You have not yet reached the level of promotion requirements, please meet the corresponding level 65 \
2: You may have enough points! \
Please meet the conditions come to my promotion here! \
<Close/@EXIT>


[@rebornwithjf5]
#IF
checkcmd CHECKUSERJF 3000
EQUAL USERREBORNCOUNT 4
checklevel 300
#ACT
actcmd SETUSERJF - 3000
actcmd SETSUPERCHANGE = 5
goto @GiveExtendArr
EventMsg [Grobal] "<$USERNAME> Has Gotten Rebirth Five."
#SAY
The number of your current promotions {FCOLOR/10} <$OUTPUT(USERREBORNCOUNT)> {FCOLOR/12} \
<Close/@EXIT>
#elsesay
You can not cut, possible reasons are as follows: \
1: You have not yet reached the level of promotion requirements, please meet the corresponding level 68 \
2: You may have enough points! \
Please meet the conditions come to my promotion here! \
<Close/@EXIT>


[@rebornwithjf6]
#IF
checkcmd CHECKUSERJF 4000
EQUAL USERREBORNCOUNT 5
checklevel 500
#ACT
actcmd SETUSERJF - 4000
actcmd SETSUPERCHANGE = 6
goto @GiveExtendArr
EventMsg [Grobal] "<$USERNAME> Has Gotten Rebirth Six."
#SAY
The number of your current promotions {FCOLOR/10} <$OUTPUT(USERREBORNCOUNT)> {FCOLOR/12} \
<Close/@EXIT>
#elsesay
You can not cut, possible reasons are as follows: \
1: You have not yet reached the level of promotion requirements, please meet the corresponding level 70 \
2: You may have enough points! \
Please meet the conditions come to my promotion here! \
<Close/@EXIT>

[@rebornwithjf7]
#IF
checkcmd CHECKUSERJF 5000
EQUAL USERREBORNCOUNT 6
checklevel 1000
#ACT
actcmd SETUSERJF - 5000
actcmd SETSUPERCHANGE = 7
goto @GiveExtendArr
EventMsg [Grobal] "<$USERNAME> Has Gotten Rebirth Seven."
#SAY
The number of your current promotions {FCOLOR/10} <$OUTPUT(USERREBORNCOUNT)> {FCOLOR/12} \
<Close/@EXIT>
#elsesay
You can not cut, possible reasons are as follows: \
1: You have not yet reached the level of promotion requirements, please meet the corresponding level 73 \
2: You may have enough points! \
Please meet the conditions come to my promotion here! \
<Close/@EXIT>

[@GiveExtendArr]
#IF
checkjob wizard
#ACT
ACTCMD SETPOINT + 31
actcmd ACCEPTREBORNBONUS MC <$REBORNWIZMC>
actcmd ACCEPTREBORNBONUS HP <$REBORNWIZHP>
actcmd ACCEPTREBORNBONUS MP <$REBORNWIZMP>
actcmd ACCEPTREBORNBONUS SC 0
actcmd ACCEPTREBORNBONUS DC 0
actcmd ACCEPTREBORNBONUS AC 0
actcmd ACCEPTREBORNBONUS MAC 0
sysmsg "You have got Rebirth"

#IF
checkjob taoist
#ACT
ACTCMD SETPOINT + 32
actcmd ACCEPTREBORNBONUS SC <$REBORNTAOSC>
actcmd ACCEPTREBORNBONUS HP <$REBORNTAOHP>
actcmd ACCEPTREBORNBONUS MP <$REBORNTAOMP>
actcmd ACCEPTREBORNBONUS MC 0
actcmd ACCEPTREBORNBONUS DC 0
actcmd ACCEPTREBORNBONUS AC 0
actcmd ACCEPTREBORNBONUS MAC 0
sysmsg "You have got Rebirth"

#IF
checkjob warrior
#ACT
ACTCMD SETPOINT + 33
actcmd ACCEPTREBORNBONUS DC <$REBORNWARDC>
actcmd ACCEPTREBORNBONUS HP <$REBORNWARHP>
actcmd ACCEPTREBORNBONUS MP <$REBORNWARMP>
actcmd ACCEPTREBORNBONUS SC 0
actcmd ACCEPTREBORNBONUS MC 0
actcmd ACCEPTREBORNBONUS AC 0
actcmd ACCEPTREBORNBONUS MAC 0
sysmsg "You have got Rebirth"
}
 
Last edited:
Upvote 0

icekid

Dedicated Member
Dedicated Member
Aug 4, 2007
125
0
42
20:01:26:Script error. missing command #SAY: "{" line:7 : C:\Mud3\Envir\Market_Def\Bichon\MainNPC-0.txt
20:01:26:Script error at #ACT: "}" line:218 : C:\Mud3\Envir\Market_Def\Bichon\MainNPC-0.txt
 
Upvote 0

twisterdmk

Golden Oldie
Golden Oldie
May 13, 2009
759
28
115
USA
20:01:26:Script error. missing command #SAY: "{" line:7 : C:\Mud3\Envir\Market_Def\Bichon\MainNPC-0.txt
20:01:26:Script error at #ACT: "}" line:218 : C:\Mud3\Envir\Market_Def\Bichon\MainNPC-0.txt

Okay this script works 100% if it is done right. Use your JifenSystem.
Put the script I released into JifenSystem/Rebirth.txt
Then go into your Envir/Market_Def/and create a NPC called Rebirth-0.
Be sure to load your NPC in Merchant. txt Label something to this.
Rebirth 0 162 231 Rebirth NPC 0 76
Rebirth being the Market_Def Rebirth
the 0 being the map.
the 162 231 being the x,y coordinates of map
RebirthNPC is name you will see on server.
0- Not Sure
and 76 is NPC Skin
Then script as follows.

#SAY
{FCOLOR/10}Welcome <$username> to the RebirthNPC.{FCOLOR/12}\
{FCOLOR/10}What would you like to do?{FCOLOR/12}\
<Rebirth/@rebirth>\
<Exit/@exit>\

[@rebirth]
#CALL [JifenSystem\Rebirth.txt] @Rebirths

[@exit]
#ACT
Close
 
Upvote 0

icekid

Dedicated Member
Dedicated Member
Aug 4, 2007
125
0
42
this is how i got it now .

[@rbmain]
#IF
#SAY
<Rebirth/@rb> \
<Exit/@exit>

[@rb]
#IF
EQUAL USERREBORNCOUNT 0
#say
<Rebirth Level One [50 GamePoints]/@rb1> \
<Leave/@Exit>
#IF
EQUAL USERREBORNCOUNT 1
#say
<Rebirth Level Two [120 GamePoints]/@rb2> \
<Leave/@Exit>
#IF
EQUAL USERREBORNCOUNT 2
#say
<Rebirth Level Three [300 GamePoints]/@rb3> \
<Leave/@Exit>
#IF
EQUAL USERREBORNCOUNT 3
#say
<Rebirth Level Four [600 GamePoints]/@rb4> \
<Leave/@Exit>

[@rb1]
#IF
checkcmd CHECKUSERJF 50
EQUAL USERREBORNCOUNT 0
checklevel 90
#ACT
actcmd SETUSERJF - 50
actcmd SETSUPERCHANGE = 1
goto @GiveExtendArr
EventMsg [Grobal] "<$USERNAME> Has Gotten Rebirth One."
#SAY
Your Current Rebirth Is {FCOLOR/10} <$OUTPUT(USERREBORNCOUNT)> {FCOLOR/12} \
<Close/@EXIT>
#elsesay
You Need To Be Level 90 Or You Dont Have 50 GamePoints.\
<Close/@EXIT>

[@rb2]
#IF
checkcmd CHECKUSERJF 120
EQUAL USERREBORNCOUNT 1
checklevel 170
#ACT
actcmd SETUSERJF - 120
actcmd SETSUPERCHANGE = 2
goto @ GiveExtendArr
EventMsg [Grobal] "<$USERNAME> Has Gotten Rebirth Two."
#SAY
Your Current Rebirth Is {FCOLOR/10} <$OUTPUT(USERREBORNCOUNT)> {FCOLOR/12} \
<Close/@EXIT>
#elsesay
You Need To Be Level 170 Or You Dont Have 120 GamePoints.\
<Close/@EXIT>


[@rb3]
#IF
checkcmd CHECKUSERJF 300
EQUAL USERREBORNCOUNT 2
checklevel 400
#ACT
actcmd SETUSERJF - 300
actcmd SETSUPERCHANGE = 3
goto @GiveExtendArr
EventMsg [Grobal] "<$USERNAME> Has Gotten Rebirth Three."
#SAY
Your Current Rebirth Is {FCOLOR/10} <$OUTPUT(USERREBORNCOUNT)> {FCOLOR/12} \
<Close/@EXIT>
#elsesay
You Need To Be Level 400 Or You Dont Have 300 GamePoints.\
<Close/@EXIT>


[@rb4]
#IF
checkcmd CHECKUSERJF 600
EQUAL USERREBORNCOUNT 3
checklevel 900
#ACT
actcmd SETUSERJF - 600
actcmd SETSUPERCHANGE = 4
goto @GiveExtendAr
EventMsg [Grobal] "<$USERNAME> Has Gotten Rebirth Four."
#SAY
Your Current Rebirth Is {FCOLOR/10} <$OUTPUT(USERREBORNCOUNT)> {FCOLOR/12} \
<Close/@EXIT>
#elsesay
You Need To Be Level 900 Or You Dont Have 600 GamePoints.\
<Close/@EXIT>

[@GiveExtendArr]
#IF
checkjob wizard
#ACT
ACTCMD SETPOINT + 31
actcmd ACCEPTREBORNBONUS MC <$REBORNWIZMC>
actcmd ACCEPTREBORNBONUS HP <$REBORNWIZHP>
actcmd ACCEPTREBORNBONUS MP <$REBORNWIZMP>
actcmd ACCEPTREBORNBONUS SC 0
actcmd ACCEPTREBORNBONUS DC 0
actcmd ACCEPTREBORNBONUS AC 0
actcmd ACCEPTREBORNBONUS MAC 0
sysmsg "You have got Rebirth"

#IF
checkjob taoist
#ACT
ACTCMD SETPOINT + 32
actcmd ACCEPTREBORNBONUS SC <$REBORNTAOSC>
actcmd ACCEPTREBORNBONUS HP <$REBORNTAOHP>
actcmd ACCEPTREBORNBONUS MP <$REBORNTAOMP>
actcmd ACCEPTREBORNBONUS MC 0
actcmd ACCEPTREBORNBONUS DC 0
actcmd ACCEPTREBORNBONUS AC 0
actcmd ACCEPTREBORNBONUS MAC 0
sysmsg "You have got Rebirth"

#IF
checkjob warrior
#ACT
ACTCMD SETPOINT + 33
actcmd ACCEPTREBORNBONUS DC <$REBORNWARDC>
actcmd ACCEPTREBORNBONUS HP <$REBORNWARHP>
actcmd ACCEPTREBORNBONUS MP <$REBORNWARMP>
actcmd ACCEPTREBORNBONUS SC 0
actcmd ACCEPTREBORNBONUS MC 0
actcmd ACCEPTREBORNBONUS AC 0
actcmd ACCEPTREBORNBONUS MAC 0
sysmsg "You have got Rebirth"
 
Upvote 0