Advertisement
Guest User

Untitled

a guest
Oct 31st, 2013
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.96 KB | None | 0 0
  1. using System;
  2. using System.Windows.Forms;
  3.  
  4. namespace BanListHelper
  5.     // By Clonix
  6. {
  7.     class MainClass
  8.     {
  9.         [STAThread]
  10.         public static void Main (string[] args)
  11.         {
  12.             Console.WriteLine ("Write the name of the banned player: ");
  13.             string playerName = Console.ReadLine ();
  14.             Console.Clear ();
  15.             Console.WriteLine ("Write the description of the ban");
  16.             string banDesc = Console.ReadLine ();
  17.             Console.Clear ();
  18.             Console.WriteLine ("Write the Date of Ban / Unban Date e.g 30-10-13 / 29-11-13: ");
  19.             string banDate = Console.ReadLine ();
  20.             Console.Clear ();
  21.             Console.WriteLine ("Output, it's copied to your clipboard: ");
  22.             Console.WriteLine (" ");
  23.             var all = "[Character Name] " + playerName +
  24.                 Environment.NewLine +
  25.                     "[Description] " + banDesc +
  26.                     Environment.NewLine +
  27.                     "[Date of Ban / Unban date] " + banDate;
  28.             Console.WriteLine (all);
  29.             System.Windows.Forms.Clipboard.SetText (all);
  30.             Console.ReadKey ();
  31.         }
  32.     }
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement