aboutsummaryrefslogtreecommitdiff
path: root/windows 95/Webchat1998.vb
blob: 255c1fafe1d8b37ade27c004578946539baed182 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
Public Class Webchat1998
    Dim con As Integer
    Dim ran As New Random
    Dim abletoclose As Boolean
    Dim correct As Boolean
    Dim username As String
    Private Sub closebutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles closebutton.Click
        If abletoclose Then
            Me.Close()
        End If
    End Sub

    Private Sub me_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        look.Start()
        Button3.Hide()
        Button4.Hide()
        Button5.Hide()
        Label5.Hide()
        abletoclose = True
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        username = txtscreenname.Text
        login.Hide()
        Chat.Start()
        ListBox1.Items.Add(username)
        history.Text += (username & " Has Logged On" & Environment.NewLine)
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        history.Text += (username & ": " & typechat.Text & Environment.NewLine)
        typechat.Text = ""
        typechat.Focus()
        history.SelectionStart = 999999
        history.ScrollToCaret()
    End Sub

    Private Sub Chat_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Chat.Tick
        Select Case con
            Case 144
                Title_Screen.Close()
            Case 143
                history.Text = (Environment.NewLine & "Game Over... You lose because you are using MS-DOS from the early 1980's and its 1998... Serriously what were you thinking??" & Environment.NewLine)
                Chat.Interval = 8000
                con += 1
            Case 142
                history.Text += ("" & Environment.NewLine)
                history.Text += ("" & Environment.NewLine)
                history.Text += ("C:\>")
                Chat.Interval = 10000
                history.ReadOnly = False
                con += 1
            Case 141
                history.Text = "Starting MS-DOS..."
                Chat.Interval = 4000
                history.ReadOnly = True
                con += 1
            Case 140
                history.Text = ""
                Chat.Interval = 2000
                history.ReadOnly = True
                con += 1
            Case 139
                history.Text += ("12padams: Oh last of all here is one hint... DOS IS USLESS... ITS JUST TEXT. NEXTTIME DON'T PIRATE SOFTWARE" & Environment.NewLine)
                Chat.Interval = 6000
                history.ReadOnly = False
                con += 1
            Case 138
                history.Text += ("12padams: Ok see ya... You have learned two leasons today... 1. don't pirtae software,    2. you learnt about old operating systems." & Environment.NewLine)
                Chat.Interval = 10000
                history.ReadOnly = False
                con += 1
            Case 137
                history.ForeColor = Color.Silver
                Chat.Interval = 2000
                history.ReadOnly = False
                con += 1
            Case 136
                history.Text += ("12padams: In DOS the computer had grey text not white text i just gotta modify it first." & Environment.NewLine)
                Chat.Interval = 4000
                history.ReadOnly = False
                con += 1
            Case 135
                history.Text += ("12padams: Ok I just need to do one last setup for DOS" & Environment.NewLine)
                Chat.Interval = 4000
                history.ReadOnly = False
                con += 1
            Case 133
                history.Text += ("12padams: Your computer now needs MS-DOS this will disconnect you from the convasation." & Environment.NewLine)
                Chat.Interval = 7000
                history.ReadOnly = False
                con = con + 2
            Case 131
                history.Text += ("12padams: Hmm i am being to kind.... I think i gotta go now." & Environment.NewLine)
                Chat.Interval = 6000
                history.ReadOnly = False
                con = con + 2
            Case 130
                history.Text += ("12padams: Ok there you go you can now type... Happy now?" & Environment.NewLine)
                Chat.Interval = 8000
                history.ReadOnly = False
                con += 1
            Case 129
                history.Text += ("12padams: Lol for once i am giving you a feature..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 128
                history.Text += ("12padams: Ok Well lol woops you can't type... thats a big mistake!!!!" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 127
                history.Text += ("12padams: Good now thats gone. I really gotta think for a little while at what to do next." & Environment.NewLine)
                Chat.Interval = 10000
                con += 1
            Case 126
                program.BorderStyle = BorderStyle.None
                history.BorderStyle = BorderStyle.None
                top.Hide()
                left.Hide()
                bottom.Hide()
                right.Hide()
                toprightcorner.Hide()
                topleftcorner.Hide()
                bottomrightcorner.Hide()
                bottomleftcorner.Hide()
                Chat.Interval = 3000
                con += 1
            Case 125
                history.Text += ("12padams: Ok ill remove it now." & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 124
                history.Text += ("12padams: Oh and the the white border around your screen i can't forget to remove that..." & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 123
                history.Text += ("12padams: mouse removed..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
                Cursor.Hide()
            Case 122
                history.Text += ("12padams: 1" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 121
                history.Text += ("12padams: 2" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 120
                history.Text += ("12padams: 3 " & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 119
                history.Text += ("12padams: 4" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 118
                history.Text += ("12padams: 5" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 117
                history.Text += ("12padams: 6" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 116
                history.Text += ("12padams: 7" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 115
                history.Text += ("12padams: 8" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 114
                history.Text += ("12padams: 9" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 113
                history.Text += ("12padams: Ok removing in 10..." & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 112
                history.Text += ("12padams: Ok enjoy the mouse while you can because I am just about to remove it..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 111
                history.Text += ("12padams: How could i forget to remove then mouse..." & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 110
                history.Text += ("12padams: Ok this is imbarrissing... I forgot to remove something thats really noticable that didn't exist." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 109
                history.Text += ("12padams: Hmm... I seem to be making quite a good theme... I really should add this to skindows..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 108
                history.ScrollBars = ScrollBars.None
                Chat.Interval = 4000
                con += 1
            Case 107
                history.Text += ("12padams: Ill just remove it now..." & Environment.NewLine)
                Chat.Interval = 2000
                con += 1
            Case 106
                history.Text += ("12padams: I see the scroll bar at the side of the screen... that didn't exist early 1980's" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 105
                history.Text += ("12padams: hmm theres still something missing..." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 104
                history.Text += ("12padams: Wow your computers looking good... I should be a programmer since i did such a godo job..." & Environment.NewLine)
                Chat.Interval = 7000
                con += 1
            Case 103
                history.Dock = DockStyle.Fill
                Chat.Interval = 3000
                con += 1
            Case 102
                history.Text += ("12padams: Hmm yes Thats whats missing I gotta make the text full screen..." & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 101
                history.Text += ("12padams: I Think I almost got your computer converted... early 1980's should be enough of a punishment..." & Environment.NewLine)
                Chat.Interval = 7000
                con += 1
            Case 100
                history.ForeColor = Color.White
                history.BackColor = Color.Black
                Chat.Interval = 6000
                con += 1
            Case 99
                Me.BackColor = Color.Black
                Chat.Interval = 5000
                con += 1
            Case 98
                history.Text += ("12padams: Ok I hope Your not Scared Of the dark!" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 97
                history.Text += ("12padams: Hmm ok this is gunna be tricky..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 96
                history.Text += ("12padams: Oh and we didn't have backgrounds... or even color for the matter..." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 95
                Chat.Interval = 3000
                con += 1
                Label6.Hide()
                Label1.Hide()
                Label7.Hide()
            Case 94
                history.Text += ("12padams: First of all we didn't have labels... so ill remove labels now" & Environment.NewLine)
                Chat.Interval = 2000
                con += 1
            Case 93
                history.Text += ("12padams: Well let me give you a little lesson on the history of computers..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 92
                history.Text += ("12padams: This is good now i can teach you and punish you at the same time lol :) " & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 91
                history.Text += ("12padams: Hey you must be new to computers... " & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 90
                history.Text += ("12padams: Hmm your new... Infact I have scanned your system and your using windwos 95 which you just got very recenty... " & Environment.NewLine)
                Chat.Interval = 10000
                con += 1
            Case 89
                history.Text += ("12padams: Oh thats Right you dont even talk so your problably don't even know its gone... " & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 88
                history.Text += ("12padams: Lol your problably saying WHY CAN'T I TALK... " & Environment.NewLine)
                Chat.Interval = 4000
                typechat.Hide()
                Button2.Hide()
                con += 1
            Case 87
                history.Text += ("12padams: Since you never talk i guess you won't be needing this..." & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 86
                history.Text += ("12padams: " & username & "? I don't remeber you... Oh right your the silent one... " & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 85
                history.Text += ("12padams: Now We are just left with... um wait who was it again..." & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 84
                history.Text += ("SkyHigh Has Logged Off" & Environment.NewLine)
                ListBox1.Items.Remove("SkyHigh")
                Chat.Interval = 5000
                con += 1
            Case 83
                history.Text += ("12padams: Oh Don't you know how to? here ill do it for you..." & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 82
                history.Text += ("SkyHigh: But I can't!!!" & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 81
                history.Text += ("12padams: Stop? you both have been able to stop this the whole time... just turn off your computer..." & Environment.NewLine)
                Chat.Interval = 7000
                con += 1
            Case 80
                history.Text += ("SkyHigh: Please Stop!!!" & Environment.NewLine)
                Chat.Interval = 8000
                con += 1
            Case 79
                history.Text += ("12padams: Ok now that thats removed i Can deal with your punishments" & Environment.NewLine)
                Chat.Interval = 5000
                Panel1.Hide()
                con += 1
            Case 78
                history.Text += ("12padams: No because i got rid of him... oh woops and talking about getting rid of things lol i forgot to remove the illegal file he uploaded which has been here all along..." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 77
                history.Text += ("12padams: Exactly and rain49 uploaded the skindows and do you see him now?" & Environment.NewLine)
                Chat.Interval = 7000
                con += 1
            Case 76
                history.Text += ("SkyHigh: I thought its only illegal to upload stuff..." & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 75
                history.Text += ("SkyHigh: Please Thats It!!! STOP. Me and " & username & " didn't accually do the uploading..." & Environment.NewLine)
                Chat.Interval = 9000
                con += 1
            Case 74
                history.Text += ("SkyHigh: Damn IT!!! what are we supposed to do now " & username & "... he got rid of the top bar with the close button and maximize and all the..." & Environment.NewLine)
                Chat.Interval = 8000
                con += 1
            Case 73
                programtopbar.Hide()
                Chat.Interval = 3000
                con += 1
            Case 72
                history.Text += ("12padams: What I have done everything...? What about this?" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 71
                history.Text += ("SkyHigh: NOOOOOOO please this is enough you have done everything. I won't illegally download your software again" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 70
                Chat.Interval = 4000
                con += 1
                Windows95.Hide()
                Me.WindowState = FormWindowState.Maximized
            Case 69
                history.Text += ("12padams: Well first I need your full attention..." & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
                Dim FontName As String = "Arial"
                Dim FontSize As Integer = 11
                Dim FS As New Font(FontName, FontSize, FontStyle.Regular)
                history.Font = FS
            Case 68
                history.Text += ("SkyHigh: Please Let Me and " & username & " go and just forget this happened!!!!" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 67
                history.Text += ("12padams: You wanna Know how to Stop this?!!!!" & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 66
                history.Text += ("SkyHigh: Please Stop!!!!" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 65
                history.Text += ("12padams: Oh yea and your icons are infected so you don't need them" & Environment.NewLine)
                Chat.Interval = 8000
                Windows95.desktopicons.Hide()
                con += 1
            Case 64
                history.Text += ("12padams: Oh but you said to the remove viruses and your taskbar was infected... it had no start button" & Environment.NewLine)
                Chat.Interval = 7000
                con += 1
            Case 63
                history.Text += ("SkyHigh: Hey What the hell give me back my taskbar!!!" & Environment.NewLine)
                Chat.Interval = 9000
                con += 1
            Case 62
                history.Text += ("12padams: Hmm the taskbar was made by microsoft for windows 95...." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
                Windows95.taskbar.Hide()
            Case 61
                history.Text += ("12padams: Hmm I see a Taskbar at the bottom of the screen..." & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 60
                history.Text += ("12padams: Well the whole of windows 95 is a virus so hmm where do we begin..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 59
                history.Text += ("12padams: Get Rid of the viruses did you say???" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 58
                history.Text += ("SkyHigh: What the Hell??? just get rid of these viruses now!!!" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 57
                history.Text += ("12padams: Anyway SkyHigh you are asking to many questions... Its time I unleash my next virus" & Environment.NewLine)
                Chat.Interval = 8000
                con += 1
            Case 56
                history.Text += ("12padams: Well It causes your computer to have all its funtions disabled" & Environment.NewLine)
                Chat.Interval = 8000
                con += 1
            Case 55
                history.Text += ("SkyHigh: Whats the virus do?" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 54
                history.Text += ("12padams: Your both experienceing a lethal virus which i like to call (death)" & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 53
                history.Text += ("12padams: I told you that you were gunna be punished...." & Environment.NewLine)
                Chat.Interval = 8000
                con += 1
            Case 52
                history.Text += ("SkyHigh: Hey what i can't open anything?" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 51
                history.Text += ("SkyHigh: Don't worry " & username & " ill look online for help" & Environment.NewLine)
                Chat.Interval = 4000
                Windows95.Enabled = False
                con += 1
            Case 50
                history.Text += ("12padams: Hey trying to fight back are we...? well ill punish you both!" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 49
                history.Text += ("SkyHigh: Stop it!!! Let me and " & username & " go!" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 48
                history.Text += ("12padams: Oh yea thats right... Now we had two left. We have SkyHigh and " & username & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 47
                history.Text += ("12padams: anyway... where were we?" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 46
                history.Text += ("12padams: lol All your Computers are infected with a virus which makes them unable to boot." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 45
                history.Text += ("rain49 Has Logged Out" & Environment.NewLine)
                ListBox1.Items.Remove("rain49")
                Chat.Interval = 7000
                con += 1
            Case 44
                history.Text += ("rain49: Oh yea... just watch" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 43
                history.Text += ("12padams: I would not do that if i were you..." & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 42
                history.Text += ("rain49: No... because i can just turn my computer off at the powerpoint... " & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 41
                history.Text += ("12padams: ... scared Yet?" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 40
                history.Text += ("rain49: Omg 12padams disabled it..." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 39
                history.Text += ("SkyHigh: What the Hell!!!! wheres my startbutton." & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 38
                history.Text += ("12padams: Ha Ha Ha... nobodys turning off their computer???" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 37
                history.Text += ("12padams: Yea Guys I Will definatly unban you if you do that..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
                Windows95.startbutton.Hide()
            Case 36
                history.Text += ("rain49: Guys Quickly go to start and turn off your computer!!!" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 35
                history.Text += ("12padams: Now that I Have you... We are gunna have a bit of fun..." & Environment.NewLine)
                Chat.Interval = 10000
                con += 1
            Case 34
                history.Text += ("12padams: I Have Caught you!!!" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 33
                history.Text += ("SkyHigh: I can't the x button is not working!!!!" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 32
                history.Text += ("rain49: CRAP 12padams logged on... Quickly SkyHigh and " & username & " LOGOUT!!!" & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 31
                history.Text += ("12padams Has Logged On" & Environment.NewLine)
                ListBox1.Items.Add("12padams")
                Chat.Interval = 4000
                con += 1
                abletoclose = False
            Case 30
                history.Text += ("SkyHigh: OMG THIS IS AWESOME.... I like the fire theme :0" & Environment.NewLine)
                Chat.Interval = 8000
                con += 1
            Case 29
                history.Text += ("rain49: ok have fun then..." & Environment.NewLine)
                Chat.Interval = 8000
                con += 1
            Case 28
                history.Text += ("SkyHigh: YAY! Download Finished... Ill install it now :)" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 27
                history.Text += ("rain49: lol ok... hey " & username & " you can download it as well :)" & Environment.NewLine)
                Chat.Interval = 9000
                con += 1
            Case 26
                history.Text += ("SkyHigh: Yay Thanks rain49!!! Ill download it now" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 25
                history.Text += ("rain49: Its now added to the file sharing section at the bottom right of the screen" & Environment.NewLine)
                Chat.Interval = 4000
                Label5.Show()
                Button5.Show()
                con += 1
            Case 24
                history.Text += ("rain49: Ok just wait a sec..." & Environment.NewLine)
                Chat.Interval = 7000
                con += 1
            Case 23
                history.Text += ("SkyHigh: I think thats enough time... SEND IT NOW!!!!" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 22
                history.Text += ("rain49: Wait ill just give " & username & " a few moments to quit this chat just incase..." & Environment.NewLine)
                Chat.Interval = 10000
                con += 1
            Case 21
                history.Text += ("SkyHigh: Come on send it now..." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 20
                history.Text += ("SkyHigh: Yea and rain 49 is gunna send it to us through Webchat :)" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 19
                history.Text += ("rain49: Anyway on the 12padams site there is a really cool piece of software called skindows95" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 18
                history.Text += ("rain49: If I were you i would log out right now... otherwise you will probably be banned" & Environment.NewLine)
                Chat.Interval = 7000
                con += 1
            Case 17
                history.Text += ("rain49: Ok " & username & " we are going to be breaking the chat rules..." & Environment.NewLine)
                Chat.Interval = 8000
                con += 1
            Case 16
                history.Text += ("rain49: Ill Have to tell " & username & " then..." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 15
                history.Text += ("SkyHigh: Oh woops I forgot to to warn " & username & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 14
                history.Text += ("rain49: Oh ok... Does " & username & " know?" & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 13
                history.Text += ("SkyHigh: Oh " & username & " is just some new person who just logged on for the first time today" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 12
                history.Text += ("rain49: Hey Who's " & username & Environment.NewLine)
                Chat.Interval = 7000
                con += 1
            Case 11
                history.Text += ("rain49: lol... hi SkyHigh" & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 10
                history.Text += ("SkyHigh: rain49 is finally on :) !!!!!!" & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 9
                history.Text += ("SkyHigh: Yay" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 8
                history.Text += ("rain49 Has Logged On" & Environment.NewLine)
                ListBox1.Items.Add("rain49")
                Chat.Interval = 4000
                con += 1
            Case 7
                If correct Then
                    history.Text += ("SkyHigh: Yay You got it :)" & Environment.NewLine)
                    Button4.Hide()
                    Button3.Hide()
                    typechat.Show()
                    con += 1
                ElseIf Not correct Then
                    history.Text += ("SkyHigh: Sorry My Name was Bill :(" & Environment.NewLine)
                    Button4.Hide()
                    Button3.Hide()
                    typechat.Show()
                    con += 1
                End If
            Case 6
                history.Text += ("SkyHigh: Ill make 2 buttons appear at the bottom of your screen and you click to guess" & Environment.NewLine)
                Chat.Interval = 500
                con += 1
                Button3.Show()
                Button4.Show()
                typechat.Hide()
                Chat.Stop()
            Case 5
                history.Text += ("SkyHigh: Ok Guess What my Name is" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 4
                history.Text += ("SkyHigh: " & username & " We can play a game while we wait for rain49 to login" & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 3
                history.Text += ("SkyHigh: But wait!" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 2
                history.Text += ("SkyHigh: Sorry I thought my friend rain49 was gunna be on..." & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 1
                history.Text += ("SkyHigh: Damn" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 0
                ListBox1.Items.Add("SkyHigh")
                history.Text += ("SkyHigh Has Logged On" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
        End Select
        history.Focus()
        history.SelectionStart = 999999
        history.ScrollToCaret()
        typechat.Focus()
    End Sub

    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
        con = 7
        correct = False
        Chat.Start()

    End Sub

    Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
        con = 7
        correct = True
        Chat.Start()
    End Sub

    Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
        Dim opendownload As New downloader95
        opendownload.Show()
        opendownload.Label2.Text = "Downloading: Skindows 95"
    End Sub
    Dim moveable As Boolean = True
    Dim mexlocation, meylocation As Integer
    Dim mewidth, meheight As Integer
    Dim maximize As Boolean

    Private Sub programtopbar_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles programtopbar.MouseDown
        If moveable = True Then
            If e.Button = MouseButtons.Left Then
                programtopbar.Capture = False
                Const WM_NCLBUTTONDOWN As Integer = &HA1S
                Const HTCAPTION As Integer = 2
                Dim msg As Message = _
                    Message.Create(Me.Handle, WM_NCLBUTTONDOWN, _
                        New IntPtr(HTCAPTION), IntPtr.Zero)
                Me.DefWndProc(msg)
            End If
        Else
        End If
    End Sub

    Private Sub pullside_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pullside.Tick
        Me.Width = Cursor.Position.X - Me.Location.X
    End Sub

    Private Sub pullbottom_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pullbottom.Tick
        Me.Height = Cursor.Position.Y - Me.Location.Y
    End Sub

    Private Sub pullbs_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles pullbs.Tick
        Me.Width = Cursor.Position.X - Me.Location.X
        Me.Height = Cursor.Position.Y - Me.Location.Y
    End Sub

    Private Sub Rightpull_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles right.MouseDown
        pullside.Start()
    End Sub

    Private Sub rightpull_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles right.MouseUp
        pullside.Stop()
    End Sub

    Private Sub bottompull_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles bottom.MouseDown
        pullbottom.Start()
    End Sub

    Private Sub buttompull_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles bottom.MouseUp
        pullbottom.Stop()
    End Sub

    Private Sub bspull_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles bottomrightcorner.MouseDown
        pullbs.Start()
    End Sub

    Private Sub bspull_MouseUp(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles bottomrightcorner.MouseUp
        pullbs.Stop()
    End Sub

    Private Sub maximizebutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles maximizebutton.Click
        If Not maximize Then
            meylocation = Windows95.desktopicons.Height - Me.Height
            mexlocation = Windows95.desktopicons.Width - Me.Width
            mewidth = Me.Width
            meheight = Me.Height
            toprightcorner.Hide()
            topleftcorner.Hide()
            bottomrightcorner.Hide()
            bottomleftcorner.Hide()
            left.Hide()
            top.Hide()
            bottom.Hide()
            right.Hide()
            Dim w, h As Integer
            w = Windows95.desktopicons.Width
            h = Windows95.desktopicons.Height
            Me.Location = New Point(0, 0)
            Me.Size = New Size(w, h)
            moveable = False
            maximizebutton.Image = My.Resources.unmaximizebutton
            maximize = True
        Else
            toprightcorner.Show()
            topleftcorner.Show()
            bottomrightcorner.Show()
            bottomleftcorner.Show()
            left.Show()
            top.Show()
            bottom.Show()
            right.Show()
            Me.Location = New Point(mexlocation, meylocation)
            Me.Size = New Size(mewidth, meheight)
            moveable = True
            maximizebutton.Image = My.Resources.Maximize
            maximize = False
        End If
    End Sub

    Private Sub look_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles look.Tick
        Me.programtopbar.BackColor = Windows95.exampleprogramtopbar.BackColor
        Me.programtopbar.BackgroundImage = Windows95.exampleprogramtopbar.BackgroundImage
        Me.programname.BackColor = Windows95.exampleprogramtext.BackColor
    End Sub

    Private Sub minimizebutton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles minimizebutton.Click
        Me.Hide()
    End Sub

End Class