drinn
Grandmaster
Poor Man's Butler
Had this idea to make a "Poor Man's Butler", where it gives you automatically x amount of reagents into your backpack.
Eppy gave me a hint that there is one already made by Experience, so credit goes to him on http://uosteam.28394.n7.nabble.com/Butler-Script-Restocking-Assistant-td362.html
Just made it bit more simple only for reagents. Its yet using the new in-game command [organizeme
How to use
1) Target the container including reagents. It will REMEMBER it after.
2) Change x amount of reagents at each line, where "100" is being written at.
Had this idea to make a "Poor Man's Butler", where it gives you automatically x amount of reagents into your backpack.
Eppy gave me a hint that there is one already made by Experience, so credit goes to him on http://uosteam.28394.n7.nabble.com/Butler-Script-Restocking-Assistant-td362.html
Just made it bit more simple only for reagents. Its yet using the new in-game command [organizeme
Code:
// Clear journal & use once agent
clearjournal
clearuseonce
// Set aliases
// Set reagent list
// List of reagents
if not listexists 'regs'
createlist 'regs'
pushlist 'regs' 0xf7a // Black Pearl
pushlist 'regs' 0xf7b // Blood Moss
pushlist 'regs' 0xf86 // Mandrake Root
pushlist 'regs' 0xf84 // Garlic
pushlist 'regs' 0xf85 // Ginseng
pushlist 'regs' 0xf88 // Nightshade
pushlist 'regs' 0xf8d // Spider's Silk
pushlist 'regs' 0xf8c // Sulphurous Ash
endif
// Targets the reg container
while not @findobject 'container_regs'
headmsg 'Reagents container?'
promptalias 'container_regs'
endwhile
// Get 100 each reagents
@useobject 'container_regs'
pause 1000
for 0 to 'regs'
if @findtype 'regs[]' 'any' 'container_regs' 100 2
@movetype 'regs[]' 'container_regs' 'backpack' 0 0 0 'any' 100 2
pause 800
else
sysmsg 'Could not find enough reagents!'
endif
endfor
// Organize reagents
pause 1500
msg '[organizeme'
How to use
1) Target the container including reagents. It will REMEMBER it after.
2) Change x amount of reagents at each line, where "100" is being written at.
if @findtype 'regs[]' 'any' 'container_regs' 100 2
@movetype 'regs[]' 'container_regs' 'backpack' 0 0 0 'any' 100 2
Last edited by a moderator: