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

Join the forum, it's quick and easy

Pokemon Mystery Dungeons United
Log in or Sign up!, Check out the latest Announcements
Pokemon Mystery Dungeons United
Would you like to react to this message? Create an account in a few clicks or log in to continue.

VB Tutorial by Growlith1223

2 posters

Go down

VB Tutorial by Growlith1223 Empty VB Tutorial by Growlith1223

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

Hell pplz!I am Growlith1223 and this is mah tutorial on how to make your own script!
Requirements:
VB6
programming knowledge
Tutorial!:
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

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
TCPDestroy
UnloadAllForms
EndInet
Else
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!
growlith1223
growlith1223

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

http://pmdeol.x10.mx

Back to top Go down

VB Tutorial by Growlith1223 Empty Re: VB Tutorial by Growlith1223

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

Hmmmm, interesting.....
Glaceon01
Glaceon01
Admin
Admin

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

Back to top Go down

Back to top


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