NPC Help

Play Now

lifco

Untrusted Member
Legendary
Golden Oldie
Loyal Member
Jul 6, 2004
3,400
66
175
UK/Italy
ive got a hair script but it dont work can someone help to fix it plz

[@main]
Welcome <$USERNAME>!\
I can service you following stuff\
<Change Hair/@ch>\
<Exit/@exit>

[@ChangHair]
#IF
gender man
#ACT
goto @ChangHairMan
#ELSEACT
goto @ChangHairWoman

[@ChangHairMan]
Tell me what type you want!\ \
<Cool/@hair0> <Handsome/@hair1>\ \
<Exit/@exit>

[@ChangHairWoman]
Tell me what type you want!\ \
<ShortCut/@hair1> <LongHair/@hair0>\ \
<Exit/@exit>

[@hair0]
#ACT
marry Hair 0
#SAY
your hair changed...\ \
<Exit/@exit>

[@hair1]
#ACT
marry Hair 1
#SAY
yours hair changed...\ \
<Exit/@exit>



many thanks

lifco
 

Smeagol

Dedicated Member
Dedicated Member
Yes there is. - Fixed

[@main]
Welcome <$USERNAME>!\
I can service you following stuff\
<Change Hair/@ch>\
<Exit/@exit>

[@ch]
#IF
gender man
#ACT
goto @ChangHairMan
#ELSEACT
goto @ChangHairWoman

[@ChangHairMan]
Tell me what type you want!\ \
<Cool/@hair0> <Handsome/@hair1>\ \
<Exit/@exit>

[@ChangHairWoman]
Tell me what type you want!\ \
<ShortCut/@hair1> <LongHair/@hair0>\ \
<Exit/@exit>

[@hair0]
#ACT
marry Hair 0
#SAY
your hair changed...\ \
<Exit/@exit>

[@hair1]
#ACT
marry Hair 1
#SAY
yours hair changed...\ \
<Exit/@exit>
 

thephoenix

Dedicated Member
Dedicated Member
Aug 10, 2004
223
0
43
Wales, UK
Lol yah he had it <Change Hair/@ch> and the change hair thing was [@ChangeHair], i was looking through and didn't notice that untill i went through it twice.