Re: [CODE] Globally Handle Abbreviations

From: Invincibill (
Date: 02/11/99

i belive there is a perfectly functional abbreviations snippet on alex's
or there used to be. no sense in re-inventing the wheel. as i remember,
its just a matter of swatting a line of code. you dont even have to
any new code.

also, i noticed that you posted in html. that makes it hard for text
based mailers to read what you are saying.

> Cj Stremick wrote:
> Hi, guys.  Enough people asked for it, I'll just post this to the
> list.
> It works like this - It'll find an abbreviation anywhere in a
> space-separated list.  So calling it on:
> PUT JUI CH (put juicy chest)
> -or-
> will work well.
> Remember - this is certainly not as efficient as it should be.  Also,
> it's the first time in a couple years I've looked at it and I just
> noticed I made my own "tolower" function called "lcase".  Why?  Beats
> me!  Probably too much Visual Basic during the days...;-)  Anyway,
> that's included too.
> What to do?  Comment out the stock "isname" function (it's in
> handler.c) and plug the two included functions in.  Since the arg list
> is the same, the calls should not need to be changed.  I think that's
> all.
> Oh - and if anyone tightens this up, please post it back to the list.
> I have to go.  I'm hungry for an apple all the sudden...
> -Cj
>                  Name: isname.txt
>    isname.txt    Type: Plain Text (text/plain)
>              Encoding: quoted-printable

Weather forecast for today: Sunny & Mild
Weather forecast for tomorrow : Sunny & Mild :

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  |

This archive was generated by hypermail 2b30 : 12/15/00 PST