Adding new flags is pretty easy, but those who are not sure will most likely find this snippet useful. This will explain how to add a !CLASS flag to your rooms, making warriors/clerics etc.. unable to enter. A small code is also required. Hope you like it. -----------------------------[ Step One ]----------------------------- > in act.movement.c > in do_simple_move( > search for "send_to_char("You aren't godly enough t" > add this under } if (GET_LEVEL(ch) < LVL_IMMORT) { /* So classes cant enter noclass rooms */ if (ROOM_FLAGGED(EXIT(ch, dir)->to_room, ROOM_NOTHIEF) && IS_THIEF(ch)) { send_to_char("Thieves not allowed, go away!\r\n", ch); return (0); } if (ROOM_FLAGGED(EXIT(ch, dir)->to_room, ROOM_NOMAGICUSER) && IS_MAGIC_USER(ch)) { send_to_char("Mages not allowed, go away!\r\n", ch); return (0); } if (ROOM_FLAGGED(EXIT(ch, dir)->to_room, ROOM_NOWARRIOR) && IS_WARRIOR(ch)) { send_to_char("Warriors not allowed, go away!\r\n", ch); return (0); } if (ROOM_FLAGGED(EXIT(ch, dir)->to_room, ROOM_NOCLERIC) && IS_CLERIC(ch)) { send_to_char("Clerics not allowed, go away!\r\n", ch); return (0); } } -----------------------------[ Step Two ]----------------------------- > in constants.c > in /* ROOM_x */ > search for "*", > add under "*", "NOMAGICUSER", "NOCLERIC", "NOTHIEF", "NOWARRIOR", ----------------------------[ Step Three ]---------------------------- > in structs.h > in /* Room flags: > search for "#define ROOM_BFS_MARK" > add under #define ROOM_BFS_MARK > change XX to the numbers that fit your list #define ROOM_NOMAGICUSER (1 << XX) #define ROOM_NOCLERIC (1 << XX) #define ROOM_NOTHIEF (1 << XX) #define ROOM_NOWARRIOR (1 << XX) -----------------------------[ Step Four ]---------------------------- > if you use OLC > in oasis.h > search for "#define NUM_ROOM_FLAGS" Add 4 to the number :P It sets how many roomflags redit should look for. ---------------------------------------------------------------------- Do whatever you want with this piece of code. Enjoy it, hate it, smash it, remake it...... If you decide to use it, please send me a mail, including the address to your mud. A line in your credit file is of course also appreciated / Hugor (hugor@freebox.com)