I have a macro (well two actually) that worked for finding any herbs in your bags, and then milling them. However, since DF the “/cast milling” doesn’t work any more. I know the UI has changed but does anyone know if there’s a way to mill herbs in a macro any more?
Below are the macros for reference - note, I know I have to update GetContainerItemInfo, but there’s no point if I can’t use /cast milling)?
Macro 1 (run once to find herbs in your bags)
/run function FnH() for i=0,4 do for j=1,GetContainerNumSlots(i) do local v={GetContainerItemInfo(i,j)} if v[2] then t={GetItemInfo(v[7])} if t[11] and t[7]==“Herb” and t[4]~=35 and v[2]>4 then return i…" "…j,t[1],t[2] end end end end end
Macro 2 (Each time it runs it mills one herb)
/run zz=“Milling” local f,l,n=AuM or CreateFrame(“Button”,“AuM”,nil,“SecureActionButtonTemplate”)f:SetAttribute(“type”,“macro”)l,n,v=FnH()if l then print(v)f:SetAttribute(“macrotext”,"/cast “…zz…”\n/use "…l)SetMacroItem(“zzProcess”,n)end
/click AuM