Macro for Sell All Greys no longer works with latest update

I have used this macro for the entirety of Classic. Anyone know what changed with today’s update? When I use this macro at a vendor nothing happens now. It seems to hint at some scripting being disabled, which is used in this macro:

/run local c,i,n,v=0;for b=0,4 do for s=1,GetContainerNumSlots(b)do i={GetContainerItemInfo(b,s)}n=i[7]if n and string.find(n,“9d9d9d”)then v={GetItemInfo(n)}q=i[2]c=c+v[11]*q;UseContainerItem(b,s)print(n,q)end;end;end;print(GetCoinText(c))

A bunch of stuff was moved over to the C_Container namespace, update accordingly.

https://wowpedia.fandom.com/wiki/Category:API_namespaces/C_Container

Thanks! Appreciate it!

Did you ever get a macro working for selling specific items?

I’m not finding anything for autoselling gray items at all. All the addons I try don’t work.