}
switch (_command)
{
case 1:
player.sendPacket(new GMViewCharacterInfo(target));
player.sendPacket(new GMHennaInfo(target));
break;
case 2:
if (target.getClan() != null)
{
player.sendPacket(new GMViewPledgeInfo(target));
}
break;
case 3:
player.sendPacket(new GMViewSkillInfo(target));
break;
case 4:
player.sendPacket(new GMViewQuestInfo(target));
break;
case 5:
ItemInstance[] items = target.getInventory().getItems();
int questSize = 0;
for (ItemInstance item : items)
{
if (item.getTemplate().isQuest())
{
questSize++;
}
}
player.sendPacket(new GMViewItemList(target, items, items.length - questSize));
player.sendPacket(new ExGMViewQuestItemList(target, items, questSize));
player.sendPacket(new GMHennaInfo(target));
break;
case 6:
player.sendPacket(new GMViewWarehouseWithdrawList(target));
break;
}