Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Windows.Forms;
- namespace BanListHelper
- // By Clonix
- {
- class MainClass
- {
- [STAThread]
- public static void Main (string[] args)
- {
- Console.WriteLine ("Write the name of the banned player: ");
- string playerName = Console.ReadLine ();
- Console.Clear ();
- Console.WriteLine ("Write the description of the ban");
- string banDesc = Console.ReadLine ();
- Console.Clear ();
- Console.WriteLine ("Write the Date of Ban / Unban Date e.g 30-10-13 / 29-11-13: ");
- string banDate = Console.ReadLine ();
- Console.Clear ();
- Console.WriteLine ("Output, it's copied to your clipboard: ");
- Console.WriteLine (" ");
- var all = "[Character Name] " + playerName +
- Environment.NewLine +
- "[Description] " + banDesc +
- Environment.NewLine +
- "[Date of Ban / Unban date] " + banDate;
- Console.WriteLine (all);
- System.Windows.Forms.Clipboard.SetText (all);
- Console.ReadKey ();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement