/* I use stc instead of send_to_char */

/* fix for letting chars sleep on items in inv - Dalsor
 * act_move.c
 * change do_sleep do_rest do_sit
 */

case POS_STANDING:
if (argument[0] == '\0' && ch->on == NULL)
{
    send_to_char( "{cYou go to sleep.\n\r{c", ch );
    act( "{c$n goes to sleep.{c", ch, NULL, NULL, TO_ROOM );
    ch->position = POS_SLEEPING;
}
else  /* find an object and sleep on it */
{
    if (argument[0] == '\0')
	obj = ch->on;
    else
	obj = get_obj_list( ch, argument,  ch->carrying );

    if (obj == NULL)
    {
    	obj = get_obj_list( ch, argument,  ch->in_room->contents );
		if (obj == NULL)
		{
		/*send_to_char( "{cYou don't see that here.\n\r{c",ch);*/
		stc("You cant find it.\n\r",ch);
		return;
		}
    }

    if (obj->item_type != ITEM_FURNITURE
    ||  (!IS_SET(obj->value[2],SLEEP_ON)
    &&   !IS_SET(obj->value[2],SLEEP_IN)
    &&	 !IS_SET(obj->value[2],SLEEP_AT)))
