<CustomBehavior File="Misc\RunLua" [COLOR="#FF0000"][B]NumOfTimes="15"[/B][/COLOR] WaitTime="2000" Lua="
if MerchantFrame:IsVisible()==true then
if buffer==nil or buffer>4 then buffer=0 end
MerchantRepairAllButton:Click()
if buffer<5 then
for s=1,GetContainerNumSlots(buffer)
do local n=GetContainerItemLink(buffer,s)
if (n and strfind(n, "ff9d9d9d") or n and strfind(n, "ffffffff") or n and strfind(n, "ff1eff00") or n and strfind(n, "ff0070dd")) then
UseContainerItem(buffer,s)
end
end
buffer=buffer+1
end
end" />