can i use lua script functions in .npc or create array and doing for there? Im reading behaviors but i need time to learn all.
#edit
im doing tasks with npc and i resolve it like this
#TASKS
#REWARD
"task",QuestValue(6522002)>0 -> Amount=QuestValue(6522000),"I have something for you, would...