-- Junk_Resiver = "Runystaty" -- Change "charname" to name of character for "Junk" items from Curse of Terror Goods_Resiver = "Rawx" -- Change "charname" to name of character for "Good" items from Curse of Terror Runy_Stat = "Runystaty" -- Change "charname" to name of character for Fusion's with 3 stat's Raw_General = "Rawx" -- Change "charname" to name of character for Fusion's with 1 and 2 stat's Product = "Runyvyroba" CoT_Junk = { 520441, -- Passion I } CoT_Goods = { 200269, -- Mysticite 204531, -- Magic Hormone 204529, -- Hormone Crystal 200265, -- Mithril 202555, -- Green Thistle 202556, -- Straw Mushroom 200331, -- Sagewood 204528, -- Ancient Fossil 241464, -- Dark Silver Nail 204527, -- Mist Emerald 202116, -- Gold Nail 204530, -- Transparent Jade 200332, -- Dragon Beard Root Wood } function cotclean() if inventory:itemTotalCount("Material Package for Magical Instruments") > 0 then repeat inventory:useItem("Material Package for Magical Instruments") until inventory:itemTotalCount("Material Package for Magical Instruments") == 0 end if inventory:itemTotalCount("Arcane Transmutor Charge") > 0 then repeat inventory:useItem("Arcane Transmutor Charge") until inventory:itemTotalCount("Arcane Transmutor Charge") == 0 end if inventory:itemTotalCount("5 Arcane Transmutor Charges") > 0 then repeat inventory:useItem("5 Arcane Transmutor Charges") until inventory:itemTotalCount("5 Arcane Transmutor Charges") == 0 end if inventory:itemTotalCount("Witchcraft Scroll Collection Box") > 0 then repeat inventory:useItem("Witchcraft Scroll Collection Box") until inventory:itemTotalCount("Witchcraft Scroll Collection Box") == 0 end if inventory:itemTotalCount("Craftsman's Recipe Coupon") > 0 then repeat inventory:useItem("Craftsman's Recipe Coupon") until inventory:itemTotalCount("Craftsman's Recipe Coupon") == 0 end -- inventory:update() -- repeat -- end player:target_Object("Mailbox",1000); RoMScript("ChoiceOption(1)"); yrest(1000) UMM_TakeMail() player:target_Object ("Mailbox") yrest(1000); -- UMM_SendByNameOrId(Junk_Resiver,CoT_Junk); UMM_SendByNameOrId(Goods_Resiver,CoT_Goods); UMM_SendAdvanced(Runy_Stat,nil,nil,nil,nil,"Runes") UMM_SendAdvanced(Raw_General,nil,nil,nil,nil,"Raw Materials") UMM_SendAdvanced(Product,nil,nil,nil,nil,"Production Runes") RoMScript("UMMFrame:Hide()") yrest(1000); -- List of items wich will always be deleted -- add more with same method) -- Seznam polozek k odstraneni) print(count) inventory:update() local ISitems_array = { 205817, -- Vanquisher's Loot 205792, -- Ghost Card "Craftsman's Recipe Coupon", 206633, -- Infernal Nightmare Statue Fragment I 206634, -- Infernal Nightmare Statue Fragment II 206635, -- Infernal Nightmare Statue Fragment III 206638, -- Abysmal Nightmare Statue Fragment I 206639, -- Abysmal Nightmare Statue Fragment II 206640, -- Abysmal Nightmare Statue Fragment III "Curse Scroll (Cannon Permutation)", 203030, -- Curse Scroll (Instant Transport) "Curse Scroll (Wicked Freeze)", 203032, -- Curse Scroll (Time Extension) "Royal Furniture Recipe Collection Box", "Potion: Princely Look", "Potion: Fullness", } for slot = 61, 240 do item = inventory.BagSlot[slot] if table.contains(ISitems_array, item.Id) then -- printf("Deleting Item: "..item.Name.."\n"); item:delete(); end end end