Move ingots into a new container

Mango

Grandmaster
Code:
if not listexists 'CraftingIngots'
  createlist 'CraftingIngots'
  pushlist 'CraftingIngots' 0x1bf2 // Ingots
endif
if not findalias 'slayerbag'
  promptalias 'slayerbag'
endif
clearignorelist
while @findtype 0xe79 'any' 'backpack'
  setalias 'current_bag' 'found'
  ignoreobject 'current_bag'
  for 0 to 'CraftingIngots'
    while @findtype 'CraftingIngots[]' 'current_bag'
      moveitem 'found' 'slayerbag'
      pause 600
    endwhile
  endfor
endwhile
clearignorelist

Moves my ingots into 'slayerbag'
 
Last edited by a moderator:

girana

Grandmaster
Looking to set up a small macro to organize my bags. Anyone have a script to move iron ingots [graphic: 0x1bf2 color: 0] from your main bag, to a bag with say.. an alias of 'ingotBag' ?

My current script only works if 'ingotBag' is empty.

post your script plz
 
Top