That was rubbish.  *cough*

It'd be more like:

if (!termcmd)
   { 
        (*cmd_table[cmd].do_fun) (ch, argument); //normal command
         tail_chain();
         return;
    }

if (!IS_SET (ch->in_room->room_flags, ROOM_TERMINAL))
{
     send_to_char("Excuse me?\n\r", ch);
     return;
}

    (*cmd_table[cmd].do_fun) (ch, argument); //<--would do a terminal
command

    tail_chain ();
    return;
}


Reply via email to