Re: [CODE] Leave/Arrive

From: Gary Barnett (gbarnett@polarnet.com)
Date: 10/31/96


 Leonard Burns IV <lburns@continet.com> wrote: (Thu, 31 Oct 1996 00:36:50 -0800)

 >  In stock code it tells you which way a person leaves when they leave the 
 >  room, I tried to use the same procedure for when the char enters the 
 >  room but it just returns the last dir that they went, just like when 
 >  they left, any help?

 use rev_dir[dir]  or dirs[rev_dir[dir]]

the first contains the direction reversed.

the second returns the name of the reversed direction. 

--Gary

-- http://www.polarnet.com/Users/gbarnett/ -- telnet://mud.polarnet.com:4000
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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