A friend gave me this script to assist with the picking up of items. I remind all of you who wish to IDOC if you run this script while afk you can be jailed. So please do not run it afk.
Basically what you want to do is get into a position around 5 items that will fit the item count of your backpack or mount. It will ask you to click the house sign, your loot destination, and up to 5 items to add to your lootlist.
Items like bags with a few items, checks, artifacts, or power scrolls are a great choice.
http://pastebin.com/raw/QyrpT4qm
Sometimes, the items you want to loot are not in reach when the house falls. To ensure you get the immediate jump on navigating to the items, this script has an X Y input. If you are not in range of the loot items, it will begin pathfinding to the specified X and Y location. The top of the macro has directions for setting this up.
The script also begins a timer once the house falls. A new house can be placed exactly 1 hour plus world saves after the IDOC occurs, so this timer will provide you an exact time to try and place. To see the time since falling at any point after, type "-timermsg 'HouseDrop'" in game. You will want to be spamming the new house exactly at the 1 hour mark as many other people will be doing the same.
You can record a macro selecting the type of house to place, but do not click a location. It will look something like this:
useobject 0x426bfa1a
waitforgump 0x877c84f9 15000
replygump 0x877c84f9 3
waitforgump 0x5d40a15b 15000
replygump 0x5d40a15b 7
waitfortarget 15000
From there you need to find the clickscreen location of the spot you would like to place. You can do this by taking a screenshot of your current screen and opening it in MS Paint. Drag a selection from the center of your UO reticle to the top left of the screenshot. The dimensions of your box will be displayed at the bottom and can be input into a clickscreen command.
Example:
http://i.imgur.com/baUbMLK.png
Also shorten your waitfortarget timeouts, especially the last one and add a timermsg if you used the above script so that you know when the 1 hour mark occurs. The finished macro would look something like this:
useobject 0x426bfa1a
waitforgump 0x877c84f9 1500
replygump 0x877c84f9 3
waitforgump 0x5d40a15b 1500
replygump 0x5d40a15b 7
waitfortarget 150
clickscreen 761 432 'single'
timermsg 'HouseDrop' 34
I hope this script helps I would give out the writer of this script, but he/she has chosen to remain anonymous. Good Luck and Happy IDOC hunting.
Also if you have any questions about this script pm me I will be more than happy if i am not busy at the time to assist in answering your questions.