Request Help with Lua please

hello everyone,

When I received a quest reward for example. “You receive item: [Recipe: Barbecued Buzzard Wing]”

I want to output the item I received to a chat channel called QuestLoot.

I have started Lua addon programming recently and wanted to try to accomplish this. I am stuck after spending few hours reading and researching.

Any help or ideas out there?

im not sure theres a specific event you can listen for for quest rewards being received.

you can move all item received chat messages into their own window (thats part of the base UI), but its all items, not just quest rewards

you may be able to get something from the chat system itself when it spits out those item received messages if it has something that differentiates the source of the item. it may be passed as one of the parameters