How to drop cards?
Posted: Sat Jan 18, 2014 8:01 am
hey again,
How can I set my cleanbag userfunction to drop cards?
this is the script, do I need to change something in there or in my profile orsomething.
I saw in Lisa's script she added
but I can't seem to get that to work in my version.
Thanks in advance
How can I set my cleanbag userfunction to drop cards?
Code: Select all
function KSCheckForFullInventory()
if ((not KS_check_bag) or (getZoneId() == 6)) then return; end;
CleanBag(KS_loot_discard_value,KS_loot_discard_quality);
yrest(500);
local spacesLeft = inventory:itemTotalCountForSlots(0,settings.profile.options.INV_AUTOSELL_FROMSLOT+60,settings.profile.options.INV_AUTOSELL_TOSLOT+60) + (KS_item_queue_size - ItemQueueCount());
ksLog("Cleared bags: "..tostring(spacesLeft).." spaces free", LOGLEVEL_DEBUG);
if (0 >= spacesLeft) then
KSResetInstance();
end
endI saw in Lisa's script she added
Code: Select all
if item:isType("Runes") or item:isType("Monster Cards") then
item:delete()
endThanks in advance