Restock Agent

Post your and ask for custom macros for your assistant
Post Reply
twlizer
Site Admin
Posts: 29
Joined: Sat Mar 31, 2018 1:00 am

Restock Agent

Post by twlizer » Mon Apr 02, 2018 7:06 pm

//////////////////////////////
Restock Agent
//////////////////////////////
//Ask for a source container
promptalias 'source'
//Wait for source container to be set
waitingfortarget
//Ask for a destination for restock
promptalias 'pack'
//Wait for destination to be set
waitingfortarget
//
//
//REMOVE from pack
//
//
//Remove bandages from pack...
movetype 0xe21 'pack' 'source' 0 0 0 'any' 'any' 2
pause 850
//Remove Black Pearl from pack...
movetype 0xf7a 'pack' 'source' 0 0 0 'any' 'any' 2
pause 850
//Remove Nightshade from pack...
movetype 0xf88 'pack' 'source' 0 0 0 'any' 'any' 2
pause 850
//Remove Mandrake Root from pack...
movetype 0xf86 'pack' 'source' 0 0 0 'any' 'any' 2
pause 860
//Remove BloodMoss from pack...
movetype 0xf7b 'pack' 'source' 0 0 0 'any' 'any' 2
pause 850
//Remove Garlic from pack...
movetype 0xf84 'pack' 'source' 0 0 0 'any' 'any' 2
pause 850
//Remove Ginseng from pack...
movetype 0xf85 'pack' 'source' 0 0 0 'any' 'any' 2
pause 850
//Remove Spider's Silk from pack...
movetype 0xf8d 'pack' 'source' 0 0 0 'any' 'any' 2
pause 850
//Remove Sulfurous Ash from pack...
movetype 0xf8c 'pack' 'source' 0 0 0 'any' 'any' 2
pause 850
//
//
//Now Get from Source
//
//
//Get bandages from source...
movetype 0xe21 'source' 'pack' 0 0 0 'any' 200 2
pause 850
//Get Black Pearl from source...
movetype 0xf7a 'source' 'pack' 0 0 0 'any' 100 2
pause 850
//Get Nightshade from source...
movetype 0xf88 'source' 'pack' 0 0 0 'any' 100 2
pause 850
//Get Mandrake Root from source...
movetype 0xf86 'source' 'pack' 0 0 0 'any' 100 2
pause 900
//Get BloodMoss from source...
movetype 0xf7b 'source' 'pack' 0 0 0 'any' 100 2
pause 900
//Get Garlic from source...
movetype 0xf84 'source' 'pack' 0 0 0 'any' 100 2
pause 850
//Get Ginseng from source...
movetype 0xf85 'source' 'pack' 0 0 0 'any' 100 2
pause 850
//Get Spider's Silk from source...
movetype 0xf8d 'source' 'pack' 0 0 0 'any' 100 2
pause 850
//Get Sulfurous Ash from source
movetype 0xf8c 'source' 'pack' 0 0 0 'any' 100 2
unsetalias 'source'
unsetalias 'pack'

Post Reply