could sum1 tell me wats wrong with this npc?

samwaudby

Registered User
Dedicated Member
Jul 20, 2003
39
0
102
[@Main]
#IF
check [1070] 1
#SAY
You've already had some items from me. Be gone. \
<Exit/@Exit> \\
#ELSESAY
Hello <$USERNAME>. Welcome to the Cerebro Server! \
I have some starter items for you.]
<Thanks/@List1>

[@list1]
Please could you tell me what class you \
are in order to speed up my job?]
<Warrior/@Items1>
<Taoist/@Items2>
<Wizzard/@Items3>

[@Items1]
#IF
CheckJob Warrior
#ACT
Give Torch 1
Give GrassHat 1
Give GreatAxe 1
Give ShoulderDash(*) 1
Give SwitchAttack(*) 1
Give Slaying(*) 1
Give HalfMoon(*) 1
Give Thrusting(*) 1
Give WarDragonRing 2
Give DeathGauntlet 2
Give ClawNecklace 1
Give Sandles 1
#IF
checkgender man
#ACT
set [123] 1
give IronArmour(M) 1
close
#ELSEACT
set [123] 1
give IronArmour(F) 1
#ELSESAY
I cannot give you warrior items, as you are too weak to carry them!\\
<Exit/@exit>]

[@Items2]
#IF
CheckJob Taoist
#ACT
Give Torch 1
Give GrassHat 1
Give SerpentSword 1
Give Amulet 5
Give Hide(*)
Give MassHide(*)
Give SummonSkele(*)
Give SummonShinsu(*)
Give Healing(*)
Give MassHealing(*)
Give Poisoning(*)
give gemarmor(M)
#ELSESAY
Don't try and fool me, you are not a Taoist\
so are not spiritual enough to use these items\\
#IF
checkgender man
#ACT
set [123] 1
give gemarmor(M)
#elseact
set [123] 1
give gemarmor(F)
<Exit/@exit>\\
[@list3}
#IF
CheckJOB Wizard
#ACT
Give Torch 1
Give GrassHat 1
Give MageStaff 1
Give GreatIceBall(*) 1
Give ThunderBolT(*) 1
Give FireWall(*) 1
Give FireBang(*) 1
Give MagicShield(*) 1
Give Repulsion(*) 1
Give ThunderStorm(*) 1
#ELSESAY
Don't Try to fool me, youa re not\
clever enough to use wizard items\\
#IF
checkgender man
#ACT
give wizardrobe(M)
#ELSEACT
give wizardrobe(F)
<Exit/@exit>\\


im very poor at npcs and have made this from scratch
also i dont understand flags

do i ahve to make them or just write them into an npc and they are created

cheers for ne help
 

samwaudby

Registered User
Dedicated Member
Jul 20, 2003
39
0
102
well i awnt it to b a kitman

but i want it so hat you can only use it 1ce

i thought u had to use flags

if so why dont the 1s i put in at the top work

and if not how else do i make it so u can only use the npc 1ce
 
Upvote 0