Re: [CODE] Command abbreviations

From: Steve Chang (yodamainman@yahoo.com)
Date: 09/01/00


--- Torgny Bjers <tb@sbbs.se> wrote:
> ----- Original Message -----
> From: "Dana Luther" <dtluther@mindspring.com>
>
> >
> > Yes, it's your isname. Notice the line which reads
> is_abbrev(str, curtok).
> > Now you get to choose - You can change your isname
> so that you can't use
> the
> > abbreviations (which would affect everthing and is
> not the best idea in my
> > opinion), or you can use an alternate isname for
> your help related
> functions
> > (namely the find_help and the function in the
> hedit which calls isname()
> to
> > decide which help entry to edit).
> > In the hedit patch was a copy of the original
> isname. What I did was copy
> > that in as orig_isname and use that instead of
> isname() in the hedit and
> > find_help. This enables you to have your
> abbreviated name search
> > capabilities for everything else, and use exact
> name comparison for your
> > help files.
> >
> > Maybe not the best solution, but it certainly does
> work. ;)
> >
> > Dana
>
> Great idea... Why didn't I think of that?  I
> actually have the old isname
> commented out, I have my bright moments.  Knew I
> saved it for some reason,
> just couldn't think of it now, several months later.
> ;)  Thanks Dana!
>
> Regards,
> /Torgny
>
>
>
>
+------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD
> Mailing List FAQ:  |
>      |
>
http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html
>  |
>
+------------------------------------------------------------+
can you help me?  i don't know where to mail
to get everyone to receive it and where do you find
the
circlemud code?


__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT