Greetings,

I got a new idea for a where command where you are only able to scan the
surrounding rooms for a character. Though as usual I've occured a problem.
:)

What I want is a where command which scans all directions from the character
and a 5 room radius from the character.

|        X       |
|        |        |
|        |       Y
---- ---- ---- ----
|        |        |
|        |        |
|        |        |

Ok I know this is an ugly map, anyway if X types where, I want Y to show up
on where with an output to look something like this:

Players around you:
Y is not far away to the southeast.

The directions would be s,s,e,e,n. Which is 5 directions away from the
character and the maximum my where would tolerate. This idea is pretty much
inspired on the stock scan command but what the stock scan command can't do
is to locate players which break into another direction from one path. I do
not wish to add more directions to the MUD either, I do not like southeast
directions, but when describing location it's fine to say southeast. :)

Any ideas to possible do this would be very welcome.
- Charon




Reply via email to