I dont generally code npcs with say / act scripts in same part as they get confusing...
[Echo Code]
[@Main]
#IF
CHECKLEVEL < 12
CHECKSLAVECOUNT < 1
CHECKGOLD 500000
#ACT
GOTO @HaveEverything
#ELSEACT
GOTO @NotGot
break
[@NotGot]
You either dont have enough gold, or you already have a better\...