[UOSteam] Alamiester's AutoFeeder V0.1

If you make a Client-side script you can publish it here for other players to use
Post Reply
User avatar
Alamiester
Legendary Scribe
Posts: 279
Joined: Wed Jan 04, 2017 8:49 pm

[UOSteam] Alamiester's AutoFeeder V0.1

Post by Alamiester »

Hallo everyone. whipped this one up just a bit ago. it seems a waste to carry around alot of fishsteaks just to eat. so i incorporated a create food spell into an auto eater macro, and it will move any extra food that you dont eat into a bag for later use or selling. just setup a hotkey like ctrl+e for this to run. the script runs so fast you might havto hit the hotkey twice to get the food to get moved into your selected food bag. enjoy :dance

*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
Post Reply