Pokemon Mystery Dungeons United
Log in or Sign up!, Check out the latest Announcements

VB Tutorial by Growlith1223

Go down

VB Tutorial by Growlith1223

Post by growlith1223 on Fri Dec 30, 2011 2:24 pm

Hell pplz!I am Growlith1223 and this is mah tutorial on how to make your own script!
programming knowledge
First you need to make Variables if neccessary!
like Dim (Variable name) as Byte or As Long. As Byte means it has to be a number, As long can be letters or numbers.
Then when trying to implement that Variable you gotta make it do something then if that requirement is met, the Variable comes into action
once you dim that variable it will be available through the entire Form.
So you would say Dim Example As Byte
then to implement it, you would put
If Form1.caption = something Then
Form1.Example = 1234567890

TCPDestroy means it will close the game and ends the proccess.

Now to add more you can maybe put
Public Sub Example1
If Form1.Caption = Pokemon Mystery Dungeon United Then
Form1.Example = 300
MsgBox "Hi, i am a message box."
Exit Sub
UnloadAllForms means it will unload all the Windows that goto the game.
EndInet Will end the connection to the Server
Else is a Or statement
MsgBox just brings up a small window saying whatever you want it to say.
Exit Sub Will end that peice of code so you can make more subs.
And that is my tutorial!

Posts : 13
Reputation : 0
Join date : 2011-09-23
Age : 22
Location : Perris, CA


Back to top Go down

Re: VB Tutorial by Growlith1223

Post by Glaceon01 on Sat Dec 31, 2011 8:06 am

Hmmmm, interesting.....


Posts : 98
Reputation : 12
Join date : 2011-06-02
Age : 23
Location : Saint.Paul MN, U.S

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum