/*
** j###t ########## #### ####
** j###t ########## #### ####
** j###T "###L J###"
** ######P' ########## #########
** ######k, ########## T######T
** ####~###L ####
** #### q###L ########## .#####
** #### \###L ########## #####"
**
** $Id: PagerNext.java,v 1.2 1997/07/22 08:41:43 subtle Exp subtle $
**
** Class History
**
** Date Name Description
** ---------|------------|-----------------------------------------------
** 21Jul97 subtle renamed command to PagerNext
**
*/
package key.commands;
import key.*;
import java.io.IOException;
import java.util.StringTokenizer;
public class PagerNext extends Command
{
public PagerNext()
{
usage = "";
}
public void run( Player p, StringTokenizer args, String fullLine, CategoryCommand caller, InteractiveConnection ic, Flags flags ) throws IOException
{
TelnetIC tc = null;
try
{
tc = (TelnetIC) ic;
}
catch( ClassCastException e )
{
ic.sendError( "This command only works during a telnet session." );
return;
}
tc.drawNextPage();
}
}