|
Setepth Novice
Joined: 17 Dec 2001 Posts: 34 Location: USA
|
Posted: Tue Mar 11, 2003 4:19 am
A more "simple" auto feeder |
I'm not looking for anything complex. I know for sure there is only one storage container that you can search for food called "leather backpack" and the foods are as follows: steak, lobster, apple, cherries, bread
(those are the only ones i'll ever carry). I just want it simply to search my inventory and then my backpack if necessary. Nothing complex, nothing needing to be highlighted and so forth. If you can do that, it'd make my life easy.
Hey meet my character:
Prince Basher, Of Que-Hagan.
At
telnet: elysium-rpg.com port:7777 |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Mar 11, 2003 4:55 am |
#AL autofood {get steak backpack;#TEMP "autoeat" {You don't have any steak} {lobster};eat steak;#ALA +5 {#UNTR autoeat}}
#AL lobster {get lobster backpack;#TEMP "autoeat" {You don't have any lobster} {apple};eat lobster}
#AL apple {get apple backpack;#TEMP "autoeat" {You don't have any apple} {cherries};eat apple}
#AL cherries {get cherries backpack;#TEMP "autoeat" {You don't have any cherries} {bread};eat cherries }
#AL bread {get bread backpack;#TEMP "autoeat" {You don't have any bread} {#MESS Out of food};eat bread}
Replace the trigger phrases with whatever your MUD says when you try to eat something you don't have.
LightBulb
Advanced Member |
|
|
|
darmir Sorcerer
Joined: 10 Oct 2000 Posts: 706 Location: USA
|
Posted: Tue Mar 11, 2003 2:55 pm |
Look at the finished scripts. I have written an autoeat script that will do the trick.
Darmir
"A gentle answer turns way wrath,
but a harsh word stirs up anger"
Proverbs 15:1 |
|
|
|
|
|