@@ -33,8 +33,6 @@ MultiBot.addItem = function(pFrame, pInfo)
3333
3434 if (tAction == " s" and MultiBot .isTarget ()) then
3535 if (pButton .item .id == " 6948" ) then return SendChatMessage (MultiBot .info .itemsellalert , " SAY" ) end
36- -- if(MultiBot.isInside(pButton.item.info, "key")) then return SendChatMessage("I will not sell Keys.", "SAY") end
37- -- if(MultiBot.isInside(pButton.item.info, "Key")) then return SendChatMessage("I will not sell Keys.", "SAY") end
3836 if (MultiBot .isInside (pButton .item .info or " " , " %f[%a][Kk]ey%f[%A]" )) then
3937 return SendChatMessage (MultiBot .info .keydestroyalert , " SAY" )
4038 end
@@ -48,20 +46,9 @@ MultiBot.addItem = function(pFrame, pInfo)
4846 return
4947 end
5048
51- --[[ if(tAction == "destroy") then
52- if(pButton.item.id == "6948") then return SendChatMessage("I cant drop this Item.", "SAY") end
53- if(MultiBot.isInside(pButton.item.info, "key")) then return SendChatMessage("I will not drop Keys.", "SAY") end
54- if(MultiBot.isInside(pButton.item.info, "Key")) then return SendChatMessage("I will not drop Keys.", "SAY") end
55- if(pButton.item.rare > 3) then return SendChatMessage("I will not drop that good Items.", "SAY") end
56- SendChatMessage(tAction .. " " .. pButton.tip, "WHISPER", nil, tName)
57- pButton:Hide()
58- return
59- end]] --
6049 if (tAction == " destroy" ) then
6150 local needsConfirm = false
6251 if (pButton .item .id == " 6948" ) then needsConfirm = true end -- Hearthstone
63- -- if(MultiBot.isInside(pButton.item.info, "key")) then needsConfirm = true end
64- -- if(MultiBot.isInside(pButton.item.info, "Key")) then needsConfirm = true end
6552 if (MultiBot .isInside (pButton .item .info , " %f[%a][Kk]ey%f[%A]" )) then needsConfirm = true end
6653 if (pButton .item .rare > 3 ) then needsConfirm = true end -- Épique ou mieux
6754 if needsConfirm then
0 commit comments