diff options
| author | AShifter <[email protected]> | 2017-11-25 08:59:48 -0700 |
|---|---|---|
| committer | AShifter <[email protected]> | 2017-11-25 08:59:48 -0700 |
| commit | c81573594f509177214bbc9b64427c8aabdc30a6 (patch) | |
| tree | 0f16be1fffc1e1557adafbd1baa9ff7aa16a3381 /ShiftOS.Main/Terminal/Commands/TestStory.cs | |
| parent | 90b1bdca5f8f2bf634a0b83ed9b623843ada5661 (diff) | |
| download | shiftos-rewind-c81573594f509177214bbc9b64427c8aabdc30a6.tar.gz shiftos-rewind-c81573594f509177214bbc9b64427c8aabdc30a6.tar.bz2 shiftos-rewind-c81573594f509177214bbc9b64427c8aabdc30a6.zip | |
Add SaveSystem, FullScreen Terminal and stuff
Git had a horrible seizure and removed our repo but Alex-TIMEHACK helped
us get it back.
Diffstat (limited to 'ShiftOS.Main/Terminal/Commands/TestStory.cs')
| -rw-r--r-- | ShiftOS.Main/Terminal/Commands/TestStory.cs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/ShiftOS.Main/Terminal/Commands/TestStory.cs b/ShiftOS.Main/Terminal/Commands/TestStory.cs index b6f7f9e..b3c0989 100644 --- a/ShiftOS.Main/Terminal/Commands/TestStory.cs +++ b/ShiftOS.Main/Terminal/Commands/TestStory.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Drawing; using System.Linq; using System.Text; using System.Threading; @@ -18,10 +19,19 @@ namespace ShiftOS.Main.Terminal.Commands { var r = new Random(); WriteLine($"Incoming connection from {r.Next(0, 256)}.{r.Next(0, 256)}.{r.Next(0, 256)}.{r.Next(0, 256)}..."); - Task.Delay(2000); + WriteLine(); //The various Task.Delay functions are to make the Thread.Sleep function work. + Thread.Sleep(r.Next(2000, 4500)); WriteLine("User set alias as \"DevX\"."); - Thread.Sleep(2000); + Task.Delay(1); + Thread.Sleep(4000); WriteLine("User <DevX> has connected successfully!"); + Task.Delay(1); + Thread.Sleep(3400); + StoryWriteLine("Well, it seems ShiftOS has installed. Congrats.... err... whatever your name is."); + } + private void StoryWriteLine(string value) + { + WriteLine($"[devx@master ~]$ {value}"); } } } |
