if (template != null)
{
final L2SiegeGuardInstance npc = new L2SiegeGuardInstance(IdFactory.getInstance().getNextId(), template);
npc.setCurrentHpMp(npc.getMaxHp(), npc.getMaxMp());
npc.setDecayed(false);
npc.spawnMe(x, y, (z+20));
if (messages != null && messages.length >0 )
AutoChatHandler.getInstance().registerChat(npc, messages, chatDelay);
if (despawnDelay > 0)