Re: [NEWBIE] [CODE] Retreat

From: Del (caminturn@earthlink.net)
Date: 02/10/99


Beau Perrizo wrote:
>
> combat.  My problem is getting the argument working so that if you type
> retreat n it goes north, and retreat s goes south.  I haven't figured out


The closest code I can think of that matches what you want to do, is the open
command for doors.
If you put an argument, it will work in that direction
open door n
close door e
open door (takes first door it finds in order of the directions defined)
etc.
I am sure if you take a look and change the number of arguments, you will find
what your looking for.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST