[2.3] Diamond 2.3 File Rebirth Script Help

Denzel

ApCold
Dedicated Member
Sep 30, 2010
17
0
28
London
i wnt to know how to make this to check Gender and give M or F armour Help tnx in advance
[@main]
#IF
CHECKNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
#SAY
Sorry you have already been reborn.\
<No problem/@exit>
#ELSEACT
goto @main1

[@main1]
#IF
checklevel 60
#SAY
Hey there would you like to Rebirth?\
Quick and easy with no messing about.\
All you need is to be level 60\
You will be deleveled to 1 and gain some nice kit.\
Yes or no?\
<Yes Please/@yes> <No Thank You/@exit>

[@yes]
#IF
CHECKJOB Taoist
CHECKGENDER MALE
CHECKGENDER FEMALE
#ACT
goto @taoistrebirth MALE
goto @taoistrebirth FEMALE
break



[@taoistrebirth MALE]
#ACT
RENEWLEVEL 1 1 10
SENDMSG 0 "<$USERNAME> has been Reborn"
SETRANKLEVELNAME %s\Monk
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
GIVE MonkSword 1
GIVE MonkRobe(M) 1
GIVE MonkHelmet 1
GIVE MonkNecklace 1
GIVE MonkBrace 2
GIVE MonkRing 2
GIVE MonkBelt 1
break

[@taoistrebirth FEMALE]
#ACT
RENEWLEVEL 1 1 10
SENDMSG 0 "<$USERNAME> has been Reborn"
SETRANKLEVELNAME %s\Monk
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
GIVE MonkSword 1
GIVE MonkRobe(F) 1
GIVE MonkHelmet 1
GIVE MonkNecklace 1
GIVE MonkBrace 2
GIVE MonkRing 2
GIVE MonkBelt 1
break
 
Last edited:

boothy

LOMCN Veteran
Veteran
Mar 23, 2007
458
12
65
Code:
[@main]
#IF
CHECKNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
#SAY
Sorry you have already been reborn.\
<No problem/@exit>
#ELSEACT
goto @main1

 
[@main1]
#IF
checklevel 60
#SAY
Hey there would you like to Rebirth?\
Quick and easy with no messing about.\
All you need is to be level 60\
You will be deleveled to 1 and gain some nice kit.\
Yes or no?\
<Yes Please/@yes> <No Thank You/@exit>
#ELSESAY
Sorry, you need to be level 60+ to use this npc.\ \
<Leave/@exit>

 
[@yes]
#IF
CHECKJOB Taoist
#ACT
goto @gendercheck

[@gendercheck]
#IF
GENDER MAN
#ACT
goto @taoistrebirthmale
#ELSEACT
goto @taoistrebirthfemale

[@taoistrebirthmale]
#ACT
RENEWLEVEL 1 1 10
SENDMSG 0 "<$USERNAME> has been Reborn"
SETRANKLEVELNAME %s\Monk
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
GIVE MonkSword 1
GIVE MonkRobe(M) 1
GIVE MonkHelmet 1
GIVE MonkNecklace 1
GIVE MonkBrace 2
GIVE MonkRing 2
GIVE MonkBelt 1
break 

[@taoistrebirthfemale]
#ACT
RENEWLEVEL 1 1 10
SENDMSG 0 "<$USERNAME> has been Reborn"
SETRANKLEVELNAME %s\Monk
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
GIVE MonkSword 1
GIVE MonkRobe(F) 1
GIVE MonkHelmet 1
GIVE MonkNecklace 1
GIVE MonkBrace 2
GIVE MonkRing 2
GIVE MonkBelt 1
break
 
Upvote 0

boothy

LOMCN Veteran
Veteran
Mar 23, 2007
458
12
65
Code:
[@main]
#IF
CHECKNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
#SAY
Sorry you have already been reborn.\
<No problem/@exit>
#ELSEACT
goto @main1

[@main1]
#IF
checklevel 60
#SAY
Hey there would you like to Rebirth?\
Quick and easy with no messing about.\
All you need is to be level 60\
You will be deleveled to 1 and gain some nice kit.\
Yes or no?\
<Yes Please/@yes> <No Thank You/@exit>
#ELSESAY
Sorry, you need to be level 60+ to use this npc.\ \
<Leave/@exit>

[@yes]
#IF
CHECKJOB Warrior
#ACT
goto @genderwarr
break

#IF
CHECKJOB Wizard
#ACT
goto @genderwiz
break

#IF
CHECKJOB Taoist
#ACT
goto @gendertao
break

[@genderwarr]
#IF
GENDER MAN
#ACT
goto @warrebirthmale
#ELSEACT
goto @warrebirthfemale

[@genderwiz]
#IF
GENDER MAN
#ACT
goto @wizrebirthmale
#ELSEACT
goto @wizrebirthfemale

[@gendertao]
#IF
GENDER MAN
#ACT
goto @taorebirthmale
#ELSEACT
goto @taorebirthfemale

[@warrebirthmale]
#ACT
RENEWLEVEL 1 1 10
SENDMSG 0 "<$USERNAME> has been Reborn"
SETRANKLEVELNAME %s\Gladiator
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
GIVE WarrSword 1
GIVE WarrRobe(M) 1
GIVE WarrHelmet 1
GIVE WarrNecklace 1
GIVE WarrBrace 2
GIVE WarrRing 2
GIVE WarrBelt 1
break 

[@warrebirthfemale]
#ACT
RENEWLEVEL 1 1 10
SENDMSG 0 "<$USERNAME> has been Reborn"
SETRANKLEVELNAME %s\Gladiator
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
GIVE WarrSword 1
GIVE WarrRobe(F) 1
GIVE WarrHelmet 1
GIVE WarrNecklace 1
GIVE WarrBrace 2
GIVE WarrRing 2
GIVE WarrBelt 1
break

[@wizrebirthmale]
#ACT
RENEWLEVEL 1 1 10
SENDMSG 0 "<$USERNAME> has been Reborn"
SETRANKLEVELNAME %s\Sorcerer
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
GIVE WizSword 1
GIVE WizRobe(M) 1
GIVE WizHelmet 1
GIVE WizNecklace 1
GIVE WizBrace 2
GIVE WizRing 2
GIVE WizBelt 1
break 

[@wizrebirthfemale]
#ACT
RENEWLEVEL 1 1 10
SENDMSG 0 "<$USERNAME> has been Reborn"
SETRANKLEVELNAME %s\Sorceress
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
GIVE WizSword 1
GIVE WizRobe(F) 1
GIVE WizHelmet 1
GIVE WizNecklace 1
GIVE WizBrace 2
GIVE WizRing 2
GIVE WizBelt 1
break

[@taorebirthmale]
#ACT
RENEWLEVEL 1 1 10
SENDMSG 0 "<$USERNAME> has been Reborn"
SETRANKLEVELNAME %s\Monk
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
GIVE MonkSword 1
GIVE MonkRobe(M) 1
GIVE MonkHelmet 1
GIVE MonkNecklace 1
GIVE MonkBrace 2
GIVE MonkRing 2
GIVE MonkBelt 1
break 

[@taorebirthfemale]
#ACT
RENEWLEVEL 1 1 10
SENDMSG 0 "<$USERNAME> has been Reborn"
SETRANKLEVELNAME %s\Monk
ADDNAMELIST ..\QuestDiary\Rebirth\NewRebirth.txt
GIVE MonkSword 1
GIVE MonkRobe(F) 1
GIVE MonkHelmet 1
GIVE MonkNecklace 1
GIVE MonkBrace 2
GIVE MonkRing 2
GIVE MonkBelt 1
break
 
Upvote 0

Razhiel

Dedicated Member
Dedicated Member
Apr 14, 2012
198
1
45
Thank's a lot dude i apreciate u contribution have a nice day ... and btw Happy Easter !
 
Upvote 0