File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ function Troll {
2
+ Add-Type - AssemblyName System.Windows.Forms
3
+
4
+ $lyrics = @ (
5
+ " Somebody once told me the world is gonna roll me"
6
+ " I ain't the sharpest tool in the shed"
7
+ " She was looking kind of dumb with her finger and her thumb"
8
+ " In the shape of an 'L' on her forehead"
9
+ " Well, the years start coming and they don't stop coming" ,
10
+ " and they don't stop coming"
11
+ )
12
+
13
+ foreach ($line in $lyrics ) {
14
+ if ($line -eq " and they don't stop coming" ) {
15
+ while ($true ) {
16
+ [System.Windows.Forms.MessageBox ]::Show($line , " meme" , [System.Windows.Forms.MessageBoxButtons ]::OK)
17
+ }
18
+ }
19
+ else {
20
+ [System.Windows.Forms.MessageBox ]::Show($line , " meme" , [System.Windows.Forms.MessageBoxButtons ]::OK)
21
+ }
22
+ }
23
+ }
You can’t perform that action at this time.
0 commit comments