{
if(player.getFame() >= 1000 && player.getClassId().level() >= 2 && player.getClan() != null && player.getClan().getLevel() >= 5)
{
player.setFame(player.getFame() - 1000, "CRP");
player.getClan().incReputation(50, false, "FameManager from " + player.getName());
player.getClan().broadcastToOnlineMembers(new PledgeShowInfoUpdate(player.getClan()));
player.sendPacket(Msg.ACQUIRED_50_CLAN_FAME_POINTS);
html.setFile("data/html/default/" + getNpcId() + "-5.htm");
}
else
{