edit.c
gurba-0.40/lib/cmds/wiz/edit.c · 286 B
From the archive gurba.tgz
Download the archive « Back to the archive contents
void main( string str ) {
if( str == "" ) {
/* Not starting with a file */
this_player()->edit("");
this_player()->edit( "file" );
} else {
this_player()->write( "Starting editor..." );
this_player()->edit( "e " + str );
this_player()->edit( "file" );
}
}