Hi, would like to know if these two npc scripts will work.
1. Should take the orb and be 100% craft:
[@main]
Welcome <$USERNAME>,I'm Dale.\
I'm the Youngest Hero of <$SERVERNAME>,\
Here if you have the Tools i will,\
UpGrade there item set! Will need a Orb.\
<Sure/@go1> <Exit/@exit>\
[@go1]
Please Stat your Class.\
Warrior <Craft/@next>\
Wizard <Craft/@next2>\
Taoist <Craft/@next4>\
[@next]
#IF
CheckJob Warrior
Checkitem Orb 1
#ACT
goto @next1
#ESLEACT
goto @wrong
[@next1]
#ACT
take Orb 1
UPGRADEITEMEX 5 2 0 1 1
UPGRADEITEMEX 7 2 0 1 1
UPGRADEITEMEX 3 2 0 1 1
UPGRADEITEMEX 1 0 0 8 1
UPGRADEITEMEX 0 2 0 1 1
goto @alldone
[@next2]
#IF
CheckJob Wizard
Checkitem Orb 1
#ACT
goto @next3
#ESLEACT
goto @wrong
[@next3]
#ACT
take Orb 1
UPGRADEITEMEX 5 3 0 1 1
UPGRADEITEMEX 7 3 0 1 1
UPGRADEITEMEX 3 3 0 1 1
UPGRADEITEMEX 1 1 0 8 1
UPGRADEITEMEX 0 3 0 1 1
goto @alldone
[@next4]
#IF
CheckJob Taoist
Checkitem Orb 1
#ACT
goto @next5
#ESLEACT
goto @wrong
[@next5]
#ACT
take Orb 1
UPGRADEITEMEX 5 4 0 1 1
UPGRADEITEMEX 7 4 0 1 1
UPGRADEITEMEX 3 4 0 1 1
UPGRADEITEMEX 1 2 0 8 1
UPGRADEITEMEX 0 4 0 1 1
goto @alldone
[@alldone]
You set Upgrade is Done!\
[@wrong]
Sorry your the Wrong Class!\
Or you do not have an Orb.\
2. Should take the gem and be variable craft:
[@main]
Welcome <$USERNAME>,I'm Dale.\
I'm the Youngest Hero of <$SERVERNAME>,\
Here if you have the Tools i will,\
UpGrade there item set!\
<Sure/@go1> <Whats Needed/@go2> <Exit/@exit>\
[@go2]
#Say
Make sure the have tools needed for your Class!\
Warrior :<Need/@help1>\
Wizard :<Need/@help2>\
Taoist :<Need/@help3>\
[@help1]
#say
You must have the following items,\
For your Class.\
1.Gem\
<Back/@main>
[@help2]
#say
You must have the following items,\
For your Class.\
1.Gem\
<Back/@main>
[@help3]
#say
You must have the following items,\
For your Class.\
1.Gem\
<Back/@main>
[@go1]
Please Stat your Class.\
Warrior <Caaft/@next>\
Wizard <Caaft/@next2>\
Taoist <Caaft/@next4>\
[@next]
#IF
CheckJob Warrior
Checkitem Gem 1
#ACT
goto @next1
#ELSEACT
goto @wrong
[@next1]
#ACT
take Gem 1
UPGRADEITEMEX 5 2 0 1 1
UPGRADEITEMEX 7 2 0 1 1
UPGRADEITEMEX 3 2 0 1 1
UPGRADEITEMEX 1 0 0 8 1
UPGRADEITEMEX 0 2 0 1 1
goto @alldone
[@next2]
#IF
CheckJob Wizard
Checkitem Gem 1
#ACT
goto @next3
#ELSEACT
goto @wrong
[@next3]
#ACT
take Gem 1
UPGRADEITEMEX 5 3 0 1 1
UPGRADEITEMEX 7 3 0 1 1
UPGRADEITEMEX 3 3 0 1 1
UPGRADEITEMEX 1 1 0 8 1
UPGRADEITEMEX 0 3 0 1 1
goto @alldone
[@next4]
#IF
CheckJob Taoist
Checkitem Gem 1
#ACT
goto @next5
#ELSEACT
goto @wrong
[@next5]
#ACT
take Gem 1
UPGRADEITEMEX 5 4 0 1 1
UPGRADEITEMEX 7 4 0 1 1
UPGRADEITEMEX 3 4 0 1 1
UPGRADEITEMEX 1 2 0 8 1
UPGRADEITEMEX 0 4 0 1 1
goto @alldone
[@alldone]
You set Upgrade is Done!\
[@wrong]
Sorry your the Wrong Class!\
Or you do not have a Gem.\
NOTE BOTH SHOULD NOT BE ABLE TO BE USED UNLESS THE ITEM IS PRESENT.
IF YOU COULD TAKE A LOOK THANX.
Edited by BH (all red)
that will work now
BH
1. Should take the orb and be 100% craft:
[@main]
Welcome <$USERNAME>,I'm Dale.\
I'm the Youngest Hero of <$SERVERNAME>,\
Here if you have the Tools i will,\
UpGrade there item set! Will need a Orb.\
<Sure/@go1> <Exit/@exit>\
[@go1]
Please Stat your Class.\
Warrior <Craft/@next>\
Wizard <Craft/@next2>\
Taoist <Craft/@next4>\
[@next]
#IF
CheckJob Warrior
Checkitem Orb 1
#ACT
goto @next1
#ESLEACT
goto @wrong
[@next1]
#ACT
take Orb 1
UPGRADEITEMEX 5 2 0 1 1
UPGRADEITEMEX 7 2 0 1 1
UPGRADEITEMEX 3 2 0 1 1
UPGRADEITEMEX 1 0 0 8 1
UPGRADEITEMEX 0 2 0 1 1
goto @alldone
[@next2]
#IF
CheckJob Wizard
Checkitem Orb 1
#ACT
goto @next3
#ESLEACT
goto @wrong
[@next3]
#ACT
take Orb 1
UPGRADEITEMEX 5 3 0 1 1
UPGRADEITEMEX 7 3 0 1 1
UPGRADEITEMEX 3 3 0 1 1
UPGRADEITEMEX 1 1 0 8 1
UPGRADEITEMEX 0 3 0 1 1
goto @alldone
[@next4]
#IF
CheckJob Taoist
Checkitem Orb 1
#ACT
goto @next5
#ESLEACT
goto @wrong
[@next5]
#ACT
take Orb 1
UPGRADEITEMEX 5 4 0 1 1
UPGRADEITEMEX 7 4 0 1 1
UPGRADEITEMEX 3 4 0 1 1
UPGRADEITEMEX 1 2 0 8 1
UPGRADEITEMEX 0 4 0 1 1
goto @alldone
[@alldone]
You set Upgrade is Done!\
[@wrong]
Sorry your the Wrong Class!\
Or you do not have an Orb.\
2. Should take the gem and be variable craft:
[@main]
Welcome <$USERNAME>,I'm Dale.\
I'm the Youngest Hero of <$SERVERNAME>,\
Here if you have the Tools i will,\
UpGrade there item set!\
<Sure/@go1> <Whats Needed/@go2> <Exit/@exit>\
[@go2]
#Say
Make sure the have tools needed for your Class!\
Warrior :<Need/@help1>\
Wizard :<Need/@help2>\
Taoist :<Need/@help3>\
[@help1]
#say
You must have the following items,\
For your Class.\
1.Gem\
<Back/@main>
[@help2]
#say
You must have the following items,\
For your Class.\
1.Gem\
<Back/@main>
[@help3]
#say
You must have the following items,\
For your Class.\
1.Gem\
<Back/@main>
[@go1]
Please Stat your Class.\
Warrior <Caaft/@next>\
Wizard <Caaft/@next2>\
Taoist <Caaft/@next4>\
[@next]
#IF
CheckJob Warrior
Checkitem Gem 1
#ACT
goto @next1
#ELSEACT
goto @wrong
[@next1]
#ACT
take Gem 1
UPGRADEITEMEX 5 2 0 1 1
UPGRADEITEMEX 7 2 0 1 1
UPGRADEITEMEX 3 2 0 1 1
UPGRADEITEMEX 1 0 0 8 1
UPGRADEITEMEX 0 2 0 1 1
goto @alldone
[@next2]
#IF
CheckJob Wizard
Checkitem Gem 1
#ACT
goto @next3
#ELSEACT
goto @wrong
[@next3]
#ACT
take Gem 1
UPGRADEITEMEX 5 3 0 1 1
UPGRADEITEMEX 7 3 0 1 1
UPGRADEITEMEX 3 3 0 1 1
UPGRADEITEMEX 1 1 0 8 1
UPGRADEITEMEX 0 3 0 1 1
goto @alldone
[@next4]
#IF
CheckJob Taoist
Checkitem Gem 1
#ACT
goto @next5
#ELSEACT
goto @wrong
[@next5]
#ACT
take Gem 1
UPGRADEITEMEX 5 4 0 1 1
UPGRADEITEMEX 7 4 0 1 1
UPGRADEITEMEX 3 4 0 1 1
UPGRADEITEMEX 1 2 0 8 1
UPGRADEITEMEX 0 4 0 1 1
goto @alldone
[@alldone]
You set Upgrade is Done!\
[@wrong]
Sorry your the Wrong Class!\
Or you do not have a Gem.\
NOTE BOTH SHOULD NOT BE ABLE TO BE USED UNLESS THE ITEM IS PRESENT.
IF YOU COULD TAKE A LOOK THANX.
Edited by BH (all red)
that will work now
BH
Last edited by a moderator:
