Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 2nd, 2012  |  syntax: None  |  size: 0.47 KB  |  hits: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #next#
  2. b = getname($back.id)
  3. list_of_items_to_deposit = [1234, 2345, 3456, 4567, 5678, 6789, 3450, 6558, 6499, 5944, 10306, 10312, 3371, 3432, 3342, 6299, 3079, 5668, 8043, 3385, 9027, 7387, 6574, 7451, 7642, 7643, 8084, 8044, 8063, 8045, 10293, 9667, 3052, 236, 9046, 3415, 7436, 7454, 9055]
  4. while true
  5.         b.items.each do |i| # creates a for each loop for items in backpack #
  6.                 if i.itemid.include?(list_of_items_to_deposit)
  7.                         moveitems(i, b, "Depot Chest")
  8.                 end
  9.         end
  10. end