So rather than telling LootIt to just loot everything off the dead mobs, I came up with a simple function that will take care of this for me. What it does is reads the current setting of Auto Loot from your preferences and remembers it so that it can make sure Auto Loot is on for these quests, and turns it back off only if you originally had it turned off.
Code: Select all
<!-- This function turns on autoloot regarless of looting add-ons, and resets the original condition when finished. -->
local aLoot
function toggleLoot(_set)
if string.lower(_set) == "set" then
aLoot = RoMScript("IsAutoTakeLoot()")
if aLoot == false then
RoMScript("SetAutoTakeLoot(true)")
end
else
if aLoot == false then
RoMScript("SetAutoTakeLoot(false)")
end
end
end