if (siegeClan != null)
{
showFlagInfo(player, siegeClans.indexOf(siegeClan));
return;
}
QuestState questState = player.getQuestState(_504_CompetitionForTheBanditStronghold.class);
if ((questState == null) || (questState.getQuestItemsCount(5009) != 1))
{
showChatWindow(player, "residence2/clanhall/agit_oel_mahum_messeger_24.htm");
return;
}
questState.exitCurrentQuest(true);
register(player);
}
else if (command.equalsIgnoreCase("registerByOffer"))
{
if (!checkCond(player, false))