Split Bandage & Stack Red Pouches by dnd20
Description from the author:
overhead "Sorting your inventory....."
@setvar! globalTimeout 650
if AutomaticallyActivateAspect = 1
if AspectMasteryWeapon = 1
if AspectWeaponSelection = 1
say "[AspectWeapon Air"
wait globalTimeout
elseif AspectWeaponSelection = 2
say "[AspectWeapon Arcane"
wait globalTimeout
elseif AspectWeaponSelection = 3
say "[AspectWeapon Artisian"
wait globalTimeout
elseif AspectWeaponSelection = 4
say "[AspectWeapon Blood"
wait globalTimeout
elseif AspectWeaponSelection = 5
say "[AspectWeapon Command"
wait globalTimeout
elseif AspectWeaponSelection = 6
say "[AspectWeapon Death"
wait globalTimeout
elseif AspectWeaponSelection = 7
say "[AspectWeapon Discipline"
wait globalTimeout
elseif AspectWeaponSelection = 8
say "[AspectWeapon Earth"
wait globalTimeout
elseif AspectWeaponSelection = 9
say "[AspectWeapon Eldrich"
wait globalTimeout
elseif AspectWeaponSelection = 10
say "[AspectWeapon Fire"
wait globalTimeout
elseif AspectWeaponSelection = 11
say "[AspectWeapon Fortune"
wait globalTimeout
elseif AspectWeaponSelection = 12
say "[AspectWeapon Frost"
wait globalTimeout
elseif AspectWeaponSelection = 13
say "[AspectWeapon Gadget"
wait globalTimeout
elseif AspectWeaponSelection = 14
say "[AspectWeapon Harvest"
wait globalTimeout
elseif AspectWeaponSelection = 15
say "[AspectWeapon Holy"
wait globalTimeout
elseif AspectWeaponSelection = 16
say "[AspectWeapon Lightning"
wait globalTimeout
elseif AspectWeaponSelection = 17
say "[AspectWeapon Lyric"
wait globalTimeout
elseif AspectWeaponSelection = 18
say "[AspectWeapon Madness"
wait globalTimeout
elseif AspectWeaponSelection = 19
say "[AspectWeapon Poison"
wait globalTimeout
elseif AspectWeaponSelection = 20
say "[AspectWeapon Shadow"
wait globalTimeout
elseif AspectWeaponSelection = 21
say "[AspectWeapon Void"
wait globalTimeout
elseif AspectWeaponSelection = 22
say "[AspectWeapon War"
wait globalTimeout
elseif AspectWeaponSelection = 23
say "[AspectWeapon Water"
wait globalTimeout
endif
endif
if AspectMasteryBook = 1
if AspectMasteryBook = 1
say "[AspectSpellbook Air"
wait globalTimeout
elseif AspectBookSelectioin = 2
say "[AspectSpellbook Arcane"
wait globalTimeout
elseif AspectBookSelectioin = 3
say "[AspectSpellbook Artisian"
wait globalTimeout
elseif AspectBookSelectioin = 4
say "[AspectSpellbook Blood"
wait globalTimeout
elseif AspectBookSelectioin = 5
say "[AspectSpellbook Command"
wait globalTimeout
elseif AspectBookSelectioin = 6
say "[AspectSpellbook Death"
wait globalTimeout
elseif AspectBookSelectioin = 7
say "[AspectSpellbook Discipline"
wait globalTimeout
elseif AspectBookSelectioin = 8
say "[AspectSpellbook Earth"
wait globalTimeout
elseif AspectBookSelectioin = 9
say "[AspectSpellbook Eldrich"
wait globalTimeout
elseif AspectBookSelectioin = 10
say "[AspectSpellbook Fire"
wait globalTimeout
elseif AspectBookSelectioin = 11
say "[AspectSpellbook Fortune"
wait globalTimeout
elseif AspectBookSelectioin = 12
say "[AspectSpellbook Frost"
wait globalTimeout
elseif AspectBookSelectioin = 13
say "[AspectSpellbook Gadget"
wait globalTimeout
elseif AspectBookSelectioin = 14
say "[AspectSpellbook Harvest"
wait globalTimeout
elseif AspectBookSelectioin = 15
say "[AspectSpellbook Holy"
wait globalTimeout
elseif AspectBookSelectioin = 16
say "[AspectSpellbook Lightning"
wait globalTimeout
elseif AspectBookSelectioin = 17
say "[AspectSpellbook Lyric"
wait globalTimeout
elseif AspectBookSelectioin = 18
say "[AspectSpellbook Madness"
wait globalTimeout
elseif AspectBookSelectioin = 19
say "[AspectSpellbook Poison"
wait globalTimeout
elseif AspectBookSelectioin = 20
say "[AspectSpellbook Shadow"
wait globalTimeout
elseif AspectBookSelectioin = 21
say "[AspectSpellbook Void"
wait globalTimeout
elseif AspectBookSelectioin = 22
say "[AspectSpellbook War"
wait globalTimeout
elseif AspectBookSelectioin = 23
say "[AspectSpellbook Water"
wait globalTimeout
endif
endif
if AspectMasteryArmor = 1
if AspectArmorSelection = 1
say "[AspectSpellbook Air"
wait globalTimeout
elseif AspectArmorSelection = 2
say "[AspectArmor Arcane"
wait globalTimeout
elseif AspectArmorSelection = 3
say "[AspectArmor Artisian"
wait globalTimeout
elseif AspectArmorSelection = 4
say "[AspectArmor Blood"
wait globalTimeout
elseif AspectArmorSelection = 5
say "[AspectArmor Command"
wait globalTimeout
elseif AspectArmorSelection = 6
say "[AspectArmor Death"
wait globalTimeout
elseif AspectArmorSelection = 7
say "[AspectArmor Discipline"
wait globalTimeout
elseif AspectArmorSelection = 8
say "[AspectArmor Earth"
wait globalTimeout
elseif AspectArmorSelection = 9
say "[AspectArmor Eldrich"
wait globalTimeout
elseif AspectArmorSelection = 10
say "[AspectArmor Fire"
wait globalTimeout
elseif AspectArmorSelection = 11
say "[AspectArmor Fortune"
wait globalTimeout
elseif AspectArmorSelection = 12
say "[AspectArmor Frost"
wait globalTimeout
elseif AspectArmorSelection = 13
say "[AspectArmor Gadget"
wait globalTimeout
elseif AspectArmorSelection = 14
say "[AspectArmor Harvest"
wait globalTimeout
elseif AspectArmorSelection = 15
say "[AspectArmor Holy"
wait globalTimeout
elseif AspectArmorSelection = 16
say "[AspectArmor Lightning"
wait globalTimeout
elseif AspectArmorSelection = 17
say "[AspectArmor Lyric"
wait globalTimeout
elseif AspectArmorSelection = 18
say "[AspectArmor Madness"
wait globalTimeout
elseif AspectArmorSelection = 19
say "[AspectArmor Poison"
wait globalTimeout
elseif AspectArmorSelection = 20
say "[AspectArmor Shadow"
wait globalTimeout
elseif AspectArmorSelection = 21
say "[AspectArmor Void"
wait globalTimeout
elseif AspectArmorSelection = 22
say "[AspectArmor War"
wait globalTimeout
elseif AspectArmorSelection = 23
say "[AspectArmor Water"
wait globalTimeout
endif
endif
endif
// AutoSplit Bandages and place them into empty red pouches
if AutomaticallySplitBandages = 1
@clearignore
while findtype "pouch" backpack 38 as item
getlabel item desc
if "(0 items" in desc
overhead "Found an empty pouch" 77
// empty
if findtype "clean bandage%s%" backpack as aids
getlabel aids aidsdesc
overhead "Moving an aid {{aidsdesc}}" 88
lift aids HowManyBandages
drop item -1 -1 -1
wait globalTimeout
if "bandage" in aidsdesc
ignore aids
endif
else
overhead "We do not have any bandages" 34
endif
endif
@ignore item
endwhile
@clearignore
endif
// Stack red pouches on top of your loot bag
if AutomaticallyStackRedPouchs = 1
clearignore
while findtype 3705 backpack 38 as decoypouch
getlabel decoypouch decoypouchlabel
wait 250
if '(1 items' in decoypouchlabel
lift decoypouch
drop backpack 0 0 0
@ignore decoypouch
endif
endwhile
endif
overhead "Done!"This is to manage INV organization of Bandages and Red pouches.
It splits bandages and sorts them into red pouches then stacks each of the red pouches on top of each other for security.