VB Tutorial by Growlith1223
2 posters
Page 1 of 1
VB Tutorial by Growlith1223
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!
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!
Re: VB Tutorial by Growlith1223
Hmmmm, interesting.....
Glaceon01- Admin
- Posts : 98
Reputation : 12
Join date : 2011-06-02
Age : 28
Location : Saint.Paul MN, U.S
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|