/* autoloner with a improved member system so loner can be membered */

Update.c

at the top of the file under the includes put

#include "lookup.h"
/* this just gets rid of the warning */

under the level section of void gain_exp
look for this

{
send_to_char( "You raise a level!!  ", ch );
        ch->level += 1;
        sprintf(buf,"$N has attained level %d!",ch->level);
        wiznet(buf,ch,NULL,WIZ_LEVELS,0,0);
        advance_level( ch );
        save_char_obj(ch);

}

put this:


if (ch->level > 15 && !is_clan(ch))
{
    ch->clan = clan_lookup( "loner" );
}
    return;
}


then if you want want loners to be memberable do this

clans.c

in the do_member section under

if ( victim == ch )
    {
        send_to_char( "You're stuck...only a god can help you now!\n\r",ch);
        return;
    }                       

remove the line

if (is_clan(victim)  && !is_same_clan(ch,victim))
    {
        send_to_char("They are in another clan already.\n\r",ch);
        return;
    }

and put:

  if ((is_clan(victim) && !is_same_clan(ch,victim)) && !(clan_table[victim->clan].independent))            
{
        send_to_char("They are in another clan already.\n\r",ch);
        return;
    }

Anything else can be superfical 

Please email me any improvements or errors to salem@limpbizkit.com
