Lookinf for npc script

Join Discord

DayWalker™

Golden Oldie
Golden Oldie
Dec 11, 2004
761
1
123
Middlesbrough ! Smoggy!
;----------------------------------------------------

[@main]
#SAY
I exchange Chests and bars.\
I charge 2000 gold for an exchange.\
what can i do for you?\
Gold bar to gold <Exchange/@gb>\
Gold chest to gold <exchange/gc>\

[@gb]
#IF
checkitem goldbar 1
#ACT
take goldbar 1
give gold 998000
close
#ELSEACT
goto @incorrectingrediants

[@gc]
#IF
checkitem goldchest 1
#ACT
take goldchest 1
give gold 9998000
close
#ELSEACT
goto @incorrectingrediants

[@incorrectingrediants]
#SAY
You dont have the right gold item.\ \
<exit/@exit>\

;-------------------------------------------------

Hope that helps

Stan
 
Upvote 0