String[] re = target.getVar("jailedFrom").split(";");
target.teleToLocation(Integer.parseInt(re[0]), Integer.parseInt(re[1]), Integer.parseInt(re[2]));
target.setReflection(re.length > 3 ? Integer.parseInt(re[3]) : 0);
target._unjailTask.cancel(true);
target.unsetVar("jailedFrom");
target.unsetVar("jailed");
activeChar.sendMessage("You unjailed " + player + ".");
}
else
{
activeChar.sendMessage("Can't find char " + player + ".");