activeChar.sendMessage("Usage: //mobgroup_nomove <groupId> <on|off>");
return;
}
MobGroup group = MobGroupTable.getInstance().getGroup(groupId);
if(group == null)
{
activeChar.sendMessage("Invalid group specified.");
return;
}
if(enabled.equalsIgnoreCase("on") || enabled.equalsIgnoreCase("true"))
{
group.setNoMoveMode(true);
}
else if(enabled.equalsIgnoreCase("off") || enabled.equalsIgnoreCase("false"))
{
group.setNoMoveMode(false);
}
else
{
activeChar.sendMessage("Incorrect command arguments.");
}