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
blackwolffe
Newbie


Joined: 14 Oct 2002
Posts: 9
Location: Memphis Tennessee

PostPosted: Wed Oct 30, 2002 11:19 pm   

Hunt Bot Without Same-line direction?
 
I can make a hunter bot when it says :
Kobold, nearby to the north.
That's easy enough. But ONE mud I play on is a godwars/vampire wars mud, and the scan command displays this:

[North]
No exit.
[East]
No exit.
[South]
BoobooKitty's servant
BoobooKitty's servant
BoobooKitty's servant
[West]
No exit.
[Up]
No exit.
[Down]
No exit.

Does anyone have an idea on how to modify or write a script so that it will hunt or kill under those guidelines? Thanks in advance,

-Blackwolffe

On a hot summer night, would you offer your throat to the wolffe with the red, red, roses?
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Thu Oct 31, 2002 5:32 am   
 
The direction comes first, followed by all the mobs in that direction. So use a trigger to get the direction and store it in a variable. Use another trigger to get the mobs, the direction will be in the variable.

Using multiple posts to ask the same question won't get you better answers.

LightBulb
Senior Member
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