{ "look" , "l" , POS_RESTING ,do_look , 0, SCMD_LOOK }, { "last" , "last" , POS_DEAD , do_last , LVL_GOD, 0 }, { "leave" , "leave" , POS_STANDING, do_leave , 0, 0 }, { "levels" , "lev" , POS_DEAD , do_levels , 0, 0 }, { "list" , "list" , POS_STANDING, do_not_here , 0, 0 }, { "lock" , "lo" , POS_SITTING , do_gen_door , 0, SCMD_LOCK }, { "load" , "lock" , POS_DEAD , do_load , LVL_CREATOR, 0 }, { "linkload" , "lock" , POS_DEAD , do_linkload , LVL_GRGOD, 0 }, { "log" , "log" , POS_DEAD , do_log , LVL_IMPL, 0 }, { "laugh" , "lau" , POS_RESTING , do_action , 0, 0 }, _____________________________________ / \ | IMP of The Savage Lands | | wiseguy@savage.mudservices.com | | | \_______________________________________/ Sticks and Stones will break your bones, but words shall kick your ass! ---------- > From: DJ Pure <pure@ozramp.net.au> > To: Adam <us001725@mindspring.com>; circle@cspo.queensu.ca > Subject: Re: [Short-Cut Error] > Date: Saturday, February 01, 1997 9:45 PM > > 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