So i was wondering if this is possible if you put in an item in the trade window a function will be called.
i tried looking at trade.c of trade_tradeadditem; but i dont know how to call the function if i put it in the source code. or is there like an "OnTradeAdd" command?