bit of NPC scripting help plz

Play Now

ashcom

Dedicated Member
Dedicated Member
Apr 24, 2003
76
0
82
ok im trying to make a NPC that emptys my bag so far i have this

;Settings
%100
+3


[@main]
#IF
#SAY
Welcome <$USERNAME>,\
Would you like me to empty your bag ?\
<yes please/@talkwith>\


[@talkwith]
<Take it all/@move1>
<Back/@main>


[@move1]
#IF
checklevel 100

#ACT
take

Steelglove


#ELSESAY
sorry your not a GM i cant help you\
<Back/@main>


problem is it dont work lol and i dont know why

any help would be great

ty in advance
 

Pyraine

Golden Oldie
Golden Oldie
Feb 22, 2004
1,002
1
175
Aggresion
[@main]
#SAY
Welcome <$USERNAME>,\
Would you like me to empty your bag ?\
<yes please/@talkwith>\


try that
 

ashcom

Dedicated Member
Dedicated Member
Apr 24, 2003
76
0
82
sorted now script should have been like this

[@main]
#SAY
Welcome <$USERNAME>,\
Would you like me to empty your bag ?\
<yes please/@talkwith>\


[@talkwith]
<Take it all/@move1>
<Back/@main>


[@move1]
#IF
checklevel 100

#ACT
take Steelglove 46


#ELSESAY
sorry your not a GM i cant help you\
<Back/@main>