Well, it works now I fixed it. Here's if anyone was wondering how I did it.
NPC Code:
player.chat = "control/accounts/"@(player.account.substring(0,(player.account.leng th)+2))@"/" @ player.account @ ".txt";
player.loadVars( "control/accounts/"@(player.account.substring(0,(player.account.leng th)+2))@"/" @ player.account @ ".txt" );
player.client.guildrank = "Blah";
player.saveVars( "control/accounts/"@(player.account.substring(0,(player.account.leng th)+2))@"/" @ player.account @ ".txt", false );