From: NeoStar <neostar@inorbit.com> >ACMD(do_goto) >{ > room_rnum location; > >+ if (GET_LEVEL(ch) < LVL_IMPL) { >+ if (ROOM_FLAGGED(location, ROOM_IMPLONLY)) { >+ send_to_char("You are not godly enough to use that room!\r\n", ch); >+ return; >+ } >+ } > > > if ((location = find_target_room(ch, argument)) < 0) > return; You need to put your added code in here, after location has been initialized with data. It'll work fine then =] > if (POOFOUT(ch)) > sprintf(buf, "%s", POOFOUT(ch)); > else > strcpy(buf, "$n disappears in a swirling mist."); -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST