From: Jvrgen Zigge Sigvardsson Subject: Abbreviations for objects, mobs and players. If anyone is interested here is a piece of code that will allow everything to be abbreviated. Instead of typing 'kill mobwithaverylongandcomplicatedname' you could type 'kill mob'. It is VERY appreciated by players. In 'handler.c', change isname() to this: #define WHITESPACE " \t" int isname(char *str, char *namelist) { char *newlist; char *curtok; newlist = strdup(namelist); /* make a copy since strtok 'modifies' strings */ for(curtok = strtok(newlist, WHITESPACE); curtok; curtok = strtok(NULL, WHITESPACE)) if(curtok && is_abbrev(str, curtok)) { free(newlist); return 1; } free(newlist); return 0; } This will check for an abbreviation on every word in the namelist.