
*Update* - You may need to adjust pause times for what your fc and fcr are. as for this macro the way i made it my fc is 5 and fcr is 7.
Code: Select all
//[UOSteam] Alamiester's AutoFeeder V0.1
//11Mar2018
@clearjournal
if not @findalias 'foodbag'
headmsg 'Select a bag to store food.'
promptalias 'foodbag'
waitfortarget 5000
endif
@removelist 'createfood'
if not listexists 'createfood'
createlist 'createfood'
endif
@pushlist 'createfood' '0x97b' // Fish Steak
@pushlist 'createfood' '0x97d' // Wedge of Cheese
@pushlist 'createfood' '0x9b7' // Cooked Bird
@pushlist 'createfood' '0x9c0' // Sausage
@pushlist 'createfood' '0x9c9' // Ham
@pushlist 'createfood' '0x9d0' // Apple
@pushlist 'createfood' '0x9d1' // Grape Bunch
@pushlist 'createfood' '0x9d2' // Peach
@pushlist 'createfood' '0x9eb' // Muffins
@pushlist 'createfood' '0x9f2' // Cut of Ribs
for 0 to 'createfood'
if not @injournal "You manage to eat the food, but you are stuffed!" "system"
cast 'create food'
pause 200
while @findtype 'createfood[]' 'any' 'backpack' 'any' 'any'
@setalias 'food' 'found'
pause 200
sysmsg 'Eating food.'
useobject 'found'
pause 700
endwhile
else
while @findtype! 'createfood[]' 'any' 'backpack' 'any' '0'
sysmsg ' **Moving Food**' '20'
moveitem 'found' 'foodbag'
pause 800
endwhile
endif
endfor