Re: strange....

From: Jeremy Elson (jelson@blaze.cs.jhu.edu)
Date: 07/13/94


> ok i wrote a bit of code..in guuid guard
> 
> if (ch->in_room == real_room(1400) && cmd == SOUTH)
>    if (GET_LEVEL(ch) > 7)
> 	act("Only those less than 8 may go to newbie zone", FALSE, ch, 0, 0,
> TO_VICT);
> 
> 
> (with the bracers and all of course...
> 
> but it considers it as if its EAST instead.....i tried if cmd == 2 also

Command number 2 _is_ east.  Command numbers start at 1, not 0.

-j



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