31
Minecraft / Oh crap, WHAT DO!?
« on: 07 Apr, 2013 07:15 »I don't know wut to do :@
Trace a player's spray on any surface
Remove a player's spray from any surface
Spray any player's spray logo on command
The punishments including a text warning, a warning and burning the player, a warning and slaying the player, kick, temporary ban, or permanent ban.
"...protect their children, family by family, from these kinds of electronic child molesters."
Sandy Hook Shooting Never Happened!
Excerpt from Muad'Dib's January 7th, 2013 Critical Mass Radio interview:
...They used a poster child for this to get everybody's sympathy and to get everybody's emotions up so that they could hopefully bring in a gun ban. They used a little poster child, a little blonde-haired blue-eyed six year old girl. She was the face, the poster child. She was supposedly killed along with the other 19 six year olds and seven year olds at Sandy Hook. Three days later Obama was there doing a photo op and she's sitting on his knee. She's supposed to be dead, used as a poster child, this little girl died - she's sitting on Obama's knee three days later. The same little girl.
And then they have her parents interviewed. It shows that they're all actors. It never really happened, because the guy that was supposedly her dad, is shown in the video where he's to the side and he's laughing and joking with other people and then he's called up in front of the camera. He's off to the left. Then he's called to the center, to the focus of the camera to be interviewed and to give his speech about Sandy Hook and about his daughter. And he goes from on the side from laughing and joking with everybody, he comes up to the center and ... he takes the joking, smiling face off and you can see him physically trying to force his face to look sad and then he starts talking about how his daughter's been killed. They're actors. There were no bodies.
It was a made for TV drama to try to ram through the gun control laws, because they want to kill the American people and they can't kill armed people. That's why Hitler disarmed the Germans, it's why Stalin disarmed the Russians, it's why chairman Mao disarmed the Chinese and they killed between them something like 120 million of their own people. And that's what they want to do in America and they can't do it because the people have the Second Amendment and they have guns. So they have to do all of this, and they'll keep doing it. There will be more incidents like this, which are made for television, until they manage to persuade the American people to give up their guns. And then they'll start killing the Americans. Because the Americans are the only people stopping them from doing what they want to do already. They know they can't put their next phase, which is reducing the world's population, they can't put that phase into operation whilst the Americans have got millions
of guns.
Dim timeMins As Integer
Dim TimeUntiTheSecondComingOfAwsomeSauce As Integer
Where the second word starts with a capital letter indicating the separation of words. Also it is generally done that the first word will start out lowercase "tempTime" allowing for a more easy flow of the words, however this is sometimes ignored if their are three or more words involved.Imports System.NetAs you can see commenting can be used to state the creator of the application (which is only visible via a user having the source code, do not use this to let users know), when it was made and a small description on what the application does. Those areas of comment are generally only for yourself and others using your code. Commenting is important, when you start making a huge complex program, it's going to be very helpful to know what your code does and where it is. Commenting is pretty necessary however you don't need to over comment for example:
Imports System.IO
'@Inject OH 4
'Rev 1.2 Dec 4th 2012
'Program checks your IP and displays it otherwise sends an error
'Attempt IP Get
Try
ipaddress = System.Text.Encoding.ASCII.GetString(( _
webclient.DownloadData("http://www.conjointgaming.com/codecalls/whatsip.php")))
lblIP.Text = ipaddress
Catch ex As Exception
'If cannot track users IP display error
MsgBox("You are not connected to the internet or the hostname is down.", MsgBoxStyle.Critical)
'Don't forget to close
Me.Close()
End Try
'@Inject OH 4Although over commenting doesn't hurt it's a tad unnecessary and waist time. For now don't worry about it though, right now for getting use to it and since your new, comment as much as you need and want! Also in relation to the white space comment, white space ie no code just a blank line, does not effect your code and has no effect when compiled the same as commented code. Commenting can be used to disable fragments of code for debugging as well this is helpful when you think something might be breaking your program and you want to see what's going on. We'll take about this in more detail later.
'Rev 1.2 Dec 4th 2012
'Program checks your IP and displays it otherwise sends an error
'Attempt IP Get
'Start of Try
Try
'YEAH GET TAT IP
ipaddress = System.Text.Encoding.ASCII.GetString(( _
'USIN TAT WATS MEH IP SAUCE
webclient.DownloadData("http://automation.whatismyip.com/n09230945.asp")))
'POP THAT BAD BOY INTO OUR TEXT BOX! YEHHHHHH
lblIP.Text = ipaddress
'But dog... what if something goes wrong?
Catch ex As Exception
'If cannot track users IP display error
MsgBox("You are not connected to the internet or the hostname is down.", MsgBoxStyle.Critical)
'Don't forget to close
Me.Close()
'Now end that bad boy!
End Try
'WHITE SPACE LOL
Dim numTest As Integer
As you can see in Visual basic we do not call it "numTest As Int" we are required to write out the whole word, which is a tad annoying and not really done with most of the programming languages you'll later deal with. However the IDE (integrated development environment, or the Visual Studio application you are programming within) has some nifty features as you type it displays a drop down of likely things you are heading towards in our case we can type int... and hit enter as it will be the first selected option on our drop down. This can at times get annoying when we hit enter and it changes our code into some random thing from the drop down but we'll get into that later as well. numTest = 6
followed by the next line of code to display our new valueMsgBox(myNum)
Putting this into piratical use we could create a form add a button and make this it's code so we would have:Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim numTest As Integer
numTest = 6
MsgBox(numTest)
End Sub
End Class
Lets assume however we are going to make numTest equal to 6 to start with and don't need to wait we can initialize it from the moment we declare it! Simple as, "Dim numTest As Integer = 33" if however we changed our first line to this but didn't remove "numTest = 6" the message box would still display 6, the number that numTest is actually equal too. Their isn't much different between how the other data type work minus the following examples:Dim numTest As Boolean = True
Dim numTest2 As String = "This is a string"
Dim numTest3 As Char = "c"