Полезные макросы
Быстрая покупка
/script local function buy (n,q) for i=1,100 do if n==GetMerchantItemInfo(i) then BuyMerchantItem(i,q) end end end buy ("[Название предмета]", [Количество (от 1 до 255)])
Быстрое удаление предмета
/run for bag = 0,4,1 do for slot = 1, 32, 1 do local name = GetContainerItemLink(bag,slot); if name and string.find(name,"[Название предмета]") then PickupContainerItem(bag,slot); DeleteCursorItem(); end; end; end[свернуть]






