I caught the action on tutorial section, but I added "Travel Money" and "Food money", then my char doesn't say anything to npc and moves to the next wp. Someone knows what is wrong?
local SpearMoney = positive(SpearMax - weaponamount) * SpearPrice
local ManaMoney = positive(MPmax - itemcount(MPtype)) * MPprice
local TravelMoney = 300
local FoodMoney = positive(FoodMax - itemcount(Foodtype)) * FoodPrice
local All = SpearMoney + ManaMoney + Travel Money + FoodMoney
npcsay("withdraw "..All) wait(1000)