I think you answer is simple. Go to interepter.c and check the list of commands under 'L'. Put look to the TOP/FIRST position in the letter 'L' block. for eg. Image it was previously like this ... { "love" , POS_RESTING , do_action , 0, 0 }, { "levels" , POS_DEAD , do_levels , 0, 0 }, { "look" , POS_RESTING , do_look , 0, SCMD_LOOK }, { "laugh" , POS_RESTING , do_action , 0, 0 }, { "last" , POS_DEAD , do_last , LVL_GOD, 0 }, { "leave" , POS_STANDING, do_leave , 0, 0 }, { "list" , POS_STANDING, do_not_here , 0, 0 }, { "lick" , POS_RESTING , do_action , 0, 0 }, { "lock" , POS_SITTING , do_gen_door , 0, SCMD_LOCK }, { "load" , POS_DEAD , do_load , LVL_GOD, 0 }, if you type l, it should do love first, as this is the first thing in the command list for l (assuming there is no new words starting with L above this. If you type le, the first thing it would do is levels ... etc etc. So if you type 'L' [but you want it to look], it WON'T do this, as love is before look (in this example). So just rearange the words for their priority .. { "look" , POS_RESTING , do_look , 0, SCMD_LOOK }, { "laugh" , POS_RESTING , do_action , 0, 0 }, { "last" , POS_DEAD , do_last , LVL_GOD, 0 }, { "leave" , POS_STANDING, do_leave , 0, 0 }, { "levels" , POS_DEAD , do_levels , 0, 0 }, { "list" , POS_STANDING, do_not_here , 0, 0 }, { "lick" , POS_RESTING , do_action , 0, 0 }, { "lock" , POS_SITTING , do_gen_door , 0, SCMD_LOCK }, { "load" , POS_DEAD , do_load , LVL_GOD, 0 }, { "love" , POS_RESTING , do_action , 0, 0 }, Now here, look has higher priority over laugh, so if you type 'L', it finds the first word in the interpreter, which NOW is look, and goes ahead and does it .. simple. Jussy *I hope this is right* +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST