[Circle] Leave/Arrive (Last time now)

From: DJ Pure (pure@ozramp.net.au)
Date: 11/06/96


G'day.

Nearly finished now.

This is what I've got.

  if (!IS_AFFECTED(ch, AFF_SNEAK)) {
	  sprintf(buf, "$n has arrived from %s%s.",
 	  (door < DOWN ? "the " : ""),
 	  (door < DOWN ? dirs[rev_dir[door]] : 
 	  door == DOWN ? "below" : "above"));
	  act(buf, TRUE, ch, 0, 0, TO_ROOM);
  }

   But what's the variable door? I take it, it's the direction the player
just CAME from. If so, i have to assign door to equal that direction, to
do the checks. But I don't know the name of that. Any idea's please.

Jussy (the dumb ass coder).
+-----------------------------------------------------------+
| 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