#if defined(macintosh)
#include <types.h>
#include <time.h>
#else
#include <sys/types.h>
#include <sys/time.h>
#endif
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "merc.h"

#include "recycle.h"
#include "tables.h"
#include "lookup.h"

void do_croom ( CHAR_DATA *ch )
{
    ROOM_INDEX_DATA *loc;
    AREA_DATA *loc_area;

	loc = ch->in_room;
	loc_area = ch->in_room->area;

	if ( !is_room_owner ( ch, loc ) )
	{
		send_to_char("But you do not own this room!\n\r",ch);
		return;
	}
	else
	{
                send_to_char("{W[{b------------------------------- {WCLAN ROOM EDITOR {b-----------------------------{W]{x\n\r",ch);
		send_to_char("{cThis command allows you to describe your personal clan room.\n\r",ch); 
		send_to_char("The editor works just the same as any olc editor.\n\r",ch);
		send_to_char("If you are unsure of how to use the clan room editor, Please\n\r",ch); 
                send_to_char("do not hesitate to ask one of the Imms or Builders for help!\n\r",ch);
		
		send_to_char("\n\r{WFast Help: {cEnter your description, when finished, Hit enter.\n\r",ch);
                send_to_char("so your cursor is next to the >. Type .f = Period F, to format.\n\r",ch);
		send_to_char("Then hit enter again for a new line and type @ to quit.. All done!{x\n\r",ch);
		send_to_char("{b-------------------------------------------------------------------------------{x\n\r",ch);  
    	string_append( ch, &loc->description );
        SET_BIT(loc_area->area_flags, AREA_CHANGED);
		return;
	}

}