mud/lib/cmds/players/terminal.c
2020-09-06 05:43:07 -07:00

25 lines
693 B
C

/* /cmds/player/terminal.c
* from the Foundation II LPC Library
* allows a person to set their terminal manually
* created by Descartes of Borg 950501
*/
#include <lib.h>
inherit LIB_DAEMON;
mixed cmd(string args) {
if( !args || args == "" ) return "Set it to what?";
message("system", "Terminal set to " +
this_player()->SetTerminal(args) + ".", this_player());
return 1;
}
string GetHelp() {
return ("Syntax: terminal <term type>\n\n"
"Allows you to set your terminal type manually in the "
"event the MUD does not automatically recognize the proper "
"setting.\n"
"See also: screen, env");
}