[2.3] Rebirth Script

Join Discord

Rapid

Dedicated Member
Dedicated Member
Jul 20, 2011
48
1
35
Could someone help me with this script please, i've made a rebirth script, but i have more than one rebirth ingame, and people can by pass the rebirth 2 stage and go straight to the rebirth 3, how can i stop this please?

New to scripting :)

; ===================================; Npc Def NPC File : Rebirth-0
; Rebirth npc in BichonProvince
; -----------------------------------
; Name: Rebirth
; Job:
; Map No: 0
; Pos X
; Pos Y
; File name: *removed*
; Comment: Rebirth npc in BichonProvince


;================================================= =
;
[@main]
#IF
CHECKNAMELIST ..\QuestDiary\Rebirth\NewRebirth3.txt
#SAY
Sorry you have already been reborn.\
<No problem/@exit>
#ELSEACT
goto @main1


[@main1]
#SAY
Hey there would you like to Rebirth?\
Quick and easy with no messing about.\
You will be deleveled to 60 and gain some nice kit.\
Warriors - Level 110, Taoist- Level 100,\
Wizard - Level 120!, Care to proceed?\ \
<Yes Please/@yes> <No Thank You/@exit>


[@yes]
#IF
CHECKJOB Warrior
checklevel 110
#ACT
goto @warriorrebirth
break
#IF
CHECKJOB Wizard
checklevel 120
#ACT
goto @wizardrebirth
break
#IF
CHECKJOB Taoist
checklevel 100
#ACT
goto @taoistrebirth
break


[@warriorrebirth]
#ACT
RENEWLEVEL 1 60 30
SENDMSG 0 "<$USERNAME> has been Reborn For The Third Time!"
SETRANKLEVELNAME %s\\~Rebirth-Stage3~\
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth3.txt
GIVE RebirthWings 1
set [25] 1
break


[@wizardrebirth]
#ACT
RENEWLEVEL 1 60 30
SENDMSG 0 "<$USERNAME> has been Reborn For The Third Time!"
SETRANKLEVELNAME %s\\~Rebirth-Stage3~\
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth3.txt
GIVE RebirthWings 1
set [25] 1
break


[@taoistrebirth]
#ACT
RENEWLEVEL 1 60 30
SENDMSG 0 "<$USERNAME> has been Reborn For The Third Time!"
SETRANKLEVELNAME %s\~Rebirth-Stage3~\
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth3.txt
GIVE RebirthWings1
set [25] 1
break

Thanks in advance :D