Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Setepth
Novice


Joined: 17 Dec 2001
Posts: 34
Location: USA

PostPosted: 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
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
darmir
Sorcerer


Joined: 10 Oct 2000
Posts: 706
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net