Jump to content

Hello "____" HELP


Recommended Posts

Alright somewhere I saw this script. Or if you can tell me the script.

Ok so you run the script a msg box appears and says..

"What is your Name?"

and below is an input box.

Then below it is a "Submit!" button

Then after that you hit Submit the box disspears and a new box (NOT MSG) appears and says whatever you put in the first box up top right.

So in the first box lets say you put "Drew" then you hit submit. Then the box would dissapear and a new box would appear saying Logged In As: Drew top right.

[center]Cookyx.com :: Simple LAN Chat[/center]

Link to comment
Share on other sites

Alright somewhere I saw this script. Or if you can tell me the script.

Ok so you run the script a msg box appears and says..

"What is your Name?"

and below is an input box.

Then below it is a "Submit!" button

Then after that you hit Submit the box disspears and a new box (NOT MSG) appears and says whatever you put in the first box up top right.

So in the first box lets say you put "Drew" then you hit submit. Then the box would dissapear and a new box would appear saying Logged In As: Drew top right.

That shouldn't be hard...

#Include <GuiConstants.au3>

$name = InputBox("Log In", "Whats Your Name?")
$Win = GuiCreate("Program", 600, 600, -1, -1)
GuiSetBkColor("0xCCCCCC")
$label = GuiCtrlCreateLabel("Logged in as: "&$name, 10, 10, 75, 50)
GuiSetState()

While 1
$Msg = GuiGetMsg()
If $Msg = $GUI_EVENT_CLOSE Then Exitloop

Wend
Edited by Paulie
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...