25 lines
671 B
C
25 lines
671 B
C
/* /secure/cmds/creator/more.c
|
|
* from the Dead Souls Object Library
|
|
* more FILE
|
|
* created by Descartes of Borg 951104
|
|
*/
|
|
|
|
#include <lib.h>
|
|
#include <message_class.h>
|
|
#include "include/more.h"
|
|
|
|
inherit LIB_DAEMON;
|
|
|
|
mixed cmd(string str) {
|
|
if( !str || str == "" ) return "Syntax: <more FILE>";
|
|
return this_player()->eventPage(str, MSG_SYSTEM | MSG_NOCOLOUR);
|
|
}
|
|
|
|
string GetHelp(){
|
|
return ("Syntax: more <FILE>\n\n"
|
|
"Pages through the file you name. While inside the pager, you "
|
|
"have access to the following commands:\n" +
|
|
LIB_PAGER->GetHelp("pager") + "\n\n"
|
|
"See also: cat, ed, head, tail");
|
|
}
|