inherit "room/room"; reset(arg) { if (arg) return; set_light(1); short_desc = "The Chat Room."; no_castle_flag = 0; long_desc = "In this room you can 'emote' and 'echo'\n"; dest_dir = ({ "players/jubal/castle/entrance", "out" }); } init() { add_action("echo","echo"); add_action("emote","emote"); ::init(); } echo(str) { if (!str) { write("usage: echo \n"); return 1; } write("You echo: " + str + "\n"); say(str + "\n",this_player()); return 1; } emote(str) { if (!str) { write("usage: emote \n"); return 1; } write("You emote: " + this_player()->query_name() + " " + str + "\n"); say(this_player()->query_name() + " " + str + "\n",this_player()); return 1; } query_light() { return 1; }