{
show("Некорректные данные", player);
return;
}
String value = var[0];
Stats stat = Stats.valueOfXml(value);
StringBuilder dialog = new StringBuilder("<html><body>");
dialog.append("<table><tr>");
dialog.append("<td><button value=\"Back\" action=\"bypass -h scripts_commands.voiced.Help:showstats\" width=40 height=15 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_CT1.Button_DF\"></td>");
dialog.append("<td><button value=\"Refresh\" action=\"bypass -h scripts_commands.voiced.Help:showfuncs ").append(value).append("\" width=60 height=15 back=\"L2UI_CT1.Button_DF_Down\" fore=\"L2UI_CT1.Button_DF\"></td>");
dialog.append("</tr></table>");
dialog.append("<br><center><font color=\"LEVEL\">Stat: ").append(stat).append("</font></center><br><br>");
Calculator[] calculators = player.getCalculators();
if(calculators == null || calculators.length == 0 || stat == null)
{
dialog.append("None");
}
else
{
Calculator c = calculators[stat.ordinal()];
Func[] funcs = c.getFunctions();
for(int i = 0; i < funcs.length; i++)
{
if(funcs[i]._funcOwner != null)
{