summaryrefslogtreecommitdiff
path: root/windows 95/Webchat1998.vb
blob: c9ec83df3e3adc388b9a577a2ed2692ff2eed297 (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
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
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 163
                history.Text = ("RESTORING BORDER" & Environment.NewLine)
                program.BorderStyle = BorderStyle.FixedSingle
                history.BorderStyle = BorderStyle.FixedSingle
                top.Show()
                left.Show()
                bottom.Show()
                right.Show()
                toprightcorner.Show()
                topleftcorner.Show()
                bottomrightcorner.Show()
                bottomleftcorner.Show()
                history.Text = ("BORDER RESTORE COMPLETE" & Environment.NewLine)
            Case 162
                history.Text = Environment.NewLine("RESTORING CHANGES..." & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 161
                history.Text = ("The Hidden Hacker: Download complete" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 160
                history.Text = ("1" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 159
                history.Text = ("2" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 158
                history.Text = ("3" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 157
                history.Text = ("4" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 156
                history.Text = ("5" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 155
                history.Text = ("6" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 154
                history.Text = ("7" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 153
                history.Text = ("8" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 152
                history.Text = ("9" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 151
                history.Text = ("The Hidden Hacker: Downloading in 10" & Environment.NewLine)
                Chat.Interval = 1000
                con += 1
            Case 150
                history.Text = ("The Hidden Hacker: I have a copy of, not Time Distorter, but a software to remove 12padams' changes he made to your system." & Environment.NewLine)
                con += 1
            Case 149
                history.Text = ("The Hidden Hacker: It is rumoured that this piece of software enables time travel. I know that you probably don't believe me but just trust me." & Environment.NewLine)
                con += 1
            Case 148
                history.Text = ("The Hidden Hacker: Allow me to introduce myself. I go by the name 'The Hidden Hacker' and I needed to stop 12padams. The reason why is because he is using a hidden piece of software called Time Distorter." & Environment.NewLine)
                con += 1
            Case 147
                history.Text = ("???: Oh, hello " & username & ", it seems that you got trapped here by a user called 12padams who made your Windows 95 computer into DOS!" & Environment.NewLine)
                history.Text = ("1 IP address found! It is 102.58.72.128. This address belongs to " & username & Environment.NewLine)
                con += 1
            Case 146
                history.Text = ("??? is scanning IP address!" & Environment.NewLine)
            Case 145
                history.Text = ("???: Hello?! Anyone here?" & Environment.NewLine)
                con += 1
            Case 144
                history.Text = ("Connected!" & Environment.NewLine)
                con += 1
            Case 143
                history.Text = ("IP 192.68.142.78 connecting..." & 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 and last of all, here is one hint... DOS IS USELESS! IT IS JUST TEXT! NEXT TIME DON'T PIRATE SOFTWARE!" & Environment.NewLine)
                Chat.Interval = 6000
                history.ReadOnly = False
                con += 1
            Case 138
                history.Text += ("12padams: You have learnt two leasons today... 1. don't pirate software and 2. you learnt about old operating systems." & Environment.NewLine)
                Chat.Interval = 10000
                history.ReadOnly = False
                con += 1
            Case 137
                history.ForeColor = Color.Gray
                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 need to modify it first." & Environment.NewLine)
                Chat.Interval = 4000
                history.ReadOnly = False
                con += 1
            Case 135
                history.Text += ("12padams: 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 is running MS-DOS which is incompatible with this version of Chat! This will disconnect you from the conversation." & Environment.NewLine)
                Chat.Interval = 7000
                history.ReadOnly = False
                con = con + 2
            Case 131
                history.Text += ("12padams: I'm being too kind... I think I got to go now." & Environment.NewLine)
                Chat.Interval = 6000
                history.ReadOnly = False
                con = con + 2
            Case 130
                history.Text += ("12padams: There you go. You can type now. Happy?!" & Environment.NewLine)
                Chat.Interval = 8000
                history.ReadOnly = False
                con += 1
            Case 129
                history.Text += ("12padams: For once I am giving you a feature..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 128
                history.Text += ("12padams: You can't type. That's a big mistake!" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 127
                history.Text += ("12padams: Good! Now that's gone, I really got to 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 I'll remove it now." & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 124
                history.Text += ("12padams: 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: Enjoy the mouse while you can! I'm about to remove it..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 111
                history.Text += ("12padams: How could I forget to remove the mouse?" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 110
                history.Text += ("12padams: OK, this is embarrissing... I forgot to remove something that's really noticable that didn't exist." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 109
                history.Text += ("12padams: It appears that I seem to be making quite a good theme... I really should add this to Skindows 98..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 108
                history.ScrollBars = ScrollBars.None
                Chat.Interval = 4000
                con += 1
            Case 107
                history.Text += ("12padams: I'll 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 which never existed early 1980s" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 105
                history.Text += ("12padams: There is something wrong though..." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 104
                history.Text += ("12padams: Wow! You're computer is looking good... I should be a programmer since I did such an excellent job..." & Environment.NewLine)
                Chat.Interval = 7000
                con += 1
            Case 103
                history.Dock = DockStyle.Fill
                Chat.Interval = 3000
                con += 1
            Case 102
                history.Text += ("12padams: That's 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 1980s 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 you're not scared of the dark!" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 97
                history.Text += ("12padams: OK, this is going to be tricky..." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 96
                history.Text += ("12padams: We didn't have backgrounds either... 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 I'll remove the 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: You must be new. I've scanned your system and you're using Windwos 95 OSR 2 which you just got very recently... " & Environment.NewLine)
                Chat.Interval = 10000
                con += 1
            Case 89
                history.Text += ("12padams: Oh yeah! You dont even talk so you problably don't even know it's gone... " & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 88
                history.Text += ("12padams: You're 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 you're 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, I'll 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 that's 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. Talking about getting rid of things! 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 Skindows 95. Do you see him now?" & Environment.NewLine)
                Chat.Interval = 7000
                con += 1
            Case 76
                history.Text += ("SkyHigh: I thought it was only illegal to upload stuff..." & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 75
                history.Text += ("SkyHigh: Please that's it! STOP. me and " & username & " didn't actually 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: I've done everything...? No! What about this?" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 71
                history.Text += ("SkyHigh: Please this is enough! You have done everything to convince me that 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 want to 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 yeah, 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: Did you not say to the remove viruses? Your taskbar was infected since 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: The taskbar was made by Microsoft making its debut in Windows 95..." & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
                Windows95.taskbar.Hide()
            Case 61
                history.Text += ("12padams: 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. Where shall I begin?" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 59
                history.Text += ("12padams: Get rid of the viruses did you type?" & 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 too many questions... It's 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 functions disabled thus slowly killing the computer!" & Environment.NewLine)
                Chat.Interval = 8000
                con += 1
            Case 55
                history.Text += ("SkyHigh: What does the virus do?" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 54
                history.Text += ("12padams: You're 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 going to be punished." & Environment.NewLine)
                Chat.Interval = 8000
                con += 1
            Case 52
                history.Text += ("SkyHigh: Hey! Why can't I open anything?" & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 51
                history.Text += ("SkyHigh: Don't worry " & username & ", I'll look online for help" & Environment.NewLine)
                Chat.Interval = 4000
                Windows95.Enabled = False
                con += 1
            Case 50
                history.Text += ("12padams: Trying to fight back are we...? Well I'll 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 yeah that's right... Now we have two left - 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: 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 yeah? 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 power... " & 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: 12padams disabled it... CRAP!" & Environment.NewLine)
                Chat.Interval = 6000
                con += 1
            Case 39
                history.Text += ("SkyHigh: What the hell?! Where is my start button?!" & Environment.NewLine)
                Chat.Interval = 4000
                con += 1
            Case 38
                history.Text += ("12padams: Ha! Nobody is turning off their computer?" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 37
                history.Text += ("12padams: Yeah guys, I will definetely 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 going to 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: Ah crap! 12padams has logged on... Quickly SkyHigh and " & username & " LOG OUT!!!" & 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... I'll install it now :)" & Environment.NewLine)
                Chat.Interval = 3000
                con += 1
            Case 27
                history.Text += ("rain49: OK... hey " & username & ", you can download it as well :)" & Environment.NewLine)
                Chat.Interval = 9000
                con += 1
            Case 26
                history.Text += ("SkyHigh: Thanks rain49!!! I'll download it now." & Environment.NewLine)
                Chat.Interval = 5000
                con += 1
            Case 25
                history.Text += ("rain49: It's 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
                abletoclose = False
            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: I'll 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 log on." & 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 going to 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