Infobox.PromptYesNo("Login","You are missing a digital society authentication link. Would you like to generate a new link with an existing account? Choosing \"No\" will restart the session in the out-of-box experience.",(result)=>
{
if(result==true)
{
Infobox.PromptText("Login","Please enter your digital society username.",(uname)=>
{
Infobox.PromptText("Login","Please enter your password.",(pword)=>
TextType("You have been cordially and involuntarily selected to participate in the development and testing of an experimental operating system called ShiftOS.");
Thread.Sleep(500);
TextType("I want ShiftOS to be the most advanced operating system in the world.");
Thread.Sleep(500);
TextType("In ShiftOS, you start out with nothing.");
Thread.Sleep(500);
TextType("And your goal is to upgrade the operating system from a barebones command line to a fully graphical operating system.");
Thread.Sleep(500);
TextType("Along the way, you'll meet many people - hackers, rebels, programmers, administrators and many more.");
Thread.Sleep(500);
TextType("You'll meet new friends and foes.");
Thread.Sleep(500);
TextType("Your goal: Take it over. Upgrade the operating system, and take over its multi-user domain.");
Thread.Sleep(500);
TextType("I won't reveal quite what you have to do, but if you can handle it, head over to http://getshiftos.ml/ and download the operating system now.");
TextType("ShiftOS has been installed successfully.");
Thread.Sleep(500);
TextType("Before you can continue to the operating system, here's a little tutorial on how to use it.");
Thread.Sleep(500);
TextType("Starting a Terminal...");
Applications.Terminalterm=null;
this.Invoke(newAction(()=>
{
term=newApplications.Terminal();
this.Controls.Add(term);
term.Location=newPoint(
(this.Width-term.Width)/2,
(this.Height-term.Height)/2
);
term.Show();
term.OnLoad();
term.OnSkinLoad();
term.OnUpgrade();
}));
TextType("This little text box is called a Terminal.");
Thread.Sleep(500);
TextType("Normally, it would appear in full-screen, but this window is hosting it as a control so you can see this text as well.");
Thread.Sleep(500);
TextType("In ShiftOS, the Terminal is your main control centre for the operating system. You can see system status, check Codepoints, open other programs, buy upgrades, and more.");
Thread.Sleep(500);
TextType("Go ahead and type 'sos.help' to see a list of commands.");
TextType("Brilliant. The sos.status command will tell you how many Codepoints you have, as well as how many upgrades you have installed and how many are available.");
Thread.Sleep(500);
TextType("Codepoints, as you know, are a special currency within ShiftOS. They are used to buy things within the multi-user domain, such as upgrades, scripts, and applications.");
Thread.Sleep(500);
TextType("You can earn Codepoints by doing things in ShiftOS - such as completing jobs for other users, making things like skins, scripts, documents, etc, and playing games like Pong.");
Thread.Sleep(500);
TextType("At times, you'll be given Codepoints to help complete a task. You will receive Codepoints from 'sys' - the multi-user domain itself.");
TextType("Right now, you don't have any upgrades. Upgrades can give ShiftOS additional features and capabilities - like new core applications, supported file types, and new Terminal commands.");
Thread.Sleep(500);
TextType("You can easily get upgrades using the Shiftorium - a repository of approved ShiftOS upgrades.");
Thread.Sleep(500);
TextType("To start using the Shiftorium, simply type 'shiftorium.list' to see available upgrades.");
TextType("Right now, you have enough Codepoints to buy the 'mud_fundamentals' upgrade. You can use shiftorium.info to see information about this upgrade.");
Thread.Sleep(500);
TextType("Some commands, like shiftorium.info, require you to pass information to them in the form of arguments.");
Thread.Sleep(500);
TextType("Argument pairs sit at the end of the command, and are enclosed in curly braces.");
Thread.Sleep(500);
TextType("Inside these curly braces, you can input an argument key, followed by a colon, followed by the value. Then, if you need multiple arguments, you can put a comma after the value, and then insert another argument pair.");
Thread.Sleep(500);
TextType("There are different value types - numeric values, which can be any positive or negative 32-bit integer");
Thread.Sleep(500);
TextType("Then there are boolean values which can be either 'true' or 'false'");
TextType("Then there are string values, which are enclosed in double-quotes.");
Thread.Sleep(500);
TextType(" If for some reason you need to use a double-quote inside a string, you must escape it using a single backslash followed by the quote, like this: key:\"My \\\"awesome\\\" value.\"");
TextType("If you want to escape a backslash inside a string, simply type two backslashes instead of one - for example key:\"Back\\\\slash.\"");
Thread.Sleep(500);
TextType("shiftorium.info requires an upgrade argument, which is a string type. Go ahead and give shiftorium.info's upgrade argument the 'mud_fundamentals' upgrade's ID.");