package com.massivecraft.factions.cmd; import java.util.ArrayList; import com.massivecraft.factions.P; import com.massivecraft.factions.zcore.CommandVisibility; import com.massivecraft.factions.zcore.MCommand; public class CmdAutoHelp extends MCommand
{
public CmdAutoHelp()
{
super(P.p);
this.aliases.add("?");
this.aliases.add("h");
this.aliases.add("help");
this.setHelpShort("");
this.optionalArgs.put("page","1");
}
@Override
public void perform()
{
if (this.commandChain.size() == 0) return;
MCommand> pcmd = this.commandChain.get(this.commandChain.size()-1);
ArrayList