On Thu, 7 Nov 1996, DJ Pure wrote: > 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. No, no, door is the direction they _went in_. In stock code, I think it is 'dir.' Sorry if I confused anyone, but I'm not using stock code (far from it). -- Daniel Koepke dkoepke@california.com Forgive me father, for I am sin. +-----------------------------------------------------------+ | 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