private void ReqsEditor_Click( object sender, EventArgs e )
{
if ( !System.IO.Directory.Exists( Paths.ReqPath ) ) {
Directory.CreateDirectory( Paths.ReqPath );
System.IO.Path.Combine( Paths.ReqPath, "howto.txt" );
File.WriteAllText( Path.Combine( Paths.ReqPath, "howto.txt" ),
"This folder is where you list the requirements " +
"for your server's ranks. You can either list all of the requirements " +
"here or you can split it into sections by creating text documents in " +
"this same directory (requirements folder) (sections are the most preferable).\n Make sure " +
"the text documents are the same name of the rank you are listing " +
"the requirements for. If you wish to use color codes use & instead of %" );
Process.Start( Paths.ReqTextPath );
} else if ( !System.IO.File.Exists( Paths.ReqTextPath ) ) {
Process.Start( Paths.ReqDirectory );
} else {
Process.Start( Paths.ReqTextPath );
}
}