Jump to content

where is the random variable from?


Recommended Posts

so this is suppose to change your msn name fast and sign out and in, i am trying to work on one section at the moment, so i took the rest of the variables out for now,

i am some how ending up with the variable as "6" as the output, when there were more variables before, i was getting output as "13", "10", 1 2 3 4 5 6 7 8.... etc... i have no idea why it is submitting these numbers instead of custom input text....

note that it keeps looping and the part of where clicking okay to start the bot is not yet done, and end key ends it if it goes out of control...

so i need help solving why the "$wtf" is = "6", it should be custom (not yet, but no 6 exist!!)

very confused, help will be appreciated

~keotix

HotKeySet("{END}", "Terminate")
; Script Start - Add your code below here
Opt("WinWaitDelay", 100)
Opt("WinTitleMatchMode", 2)
Opt("WinDetectHiddenText", 1)
Opt("MouseCoordMode", 2)


GUICreate ( "by 4113n", 250, 300)

;Labels & Colours
GuiCtrlCreateLabel("WHAT TO DO:    Type 8 messages that you want to say '~~~~~ has logged in' into the following 8 text boxes", 5, 25, 110, 150)
GUICtrlSetColor(-1, 0x7F9A65)
GuiCtrlCreateLabel("[TIP]                           also remember short messages are best", 5, 130, 110, 150)
GUICtrlSetColor(-1, 0x63AB62)
GuiCtrlCreateLabel("[TIP]                            push the END key to teminate this bot", 5, 170, 110, 150)
GUICtrlSetColor(-1, 0x308014)
$wtf = GUICtrlCreateInput("hello world", 120, 200, 120, 20)

;button
$button = GUICtrlCreateButton("&Start", 75, 250, 80, 30)

GUISetState()

While 1
    $msg = GUIGetMsg()

            WinWait("Windows Live Messenger","")
            If Not WinActive("Windows Live Messenger","") Then WinActivate("Windows Live Messenger","")
            WinWaitActive("Windows Live Messenger","")
        

                MouseClick("left", 92, 52, 1, 1);name
                MouseClick("left", 92, 178, 1, 1);appear offline
                MouseClick("left", 92, 52, 1, 1);name
                MouseClick("left", 92, 324, 1, 1);options
                Send($wtf)
                send("{ENTER}")
                MouseClick("left", 92, 52, 1, 1);name
                MouseClick("left", 92, 74, 1, 1);online
                Sleep(200)
                
Wend

Func Terminate()
   Exit
EndFunc
Edited by keotix
Link to comment
Share on other sites

so this is suppose to change your msn name fast and sign out and in, i am trying to work on one section at the moment, so i took the rest of the variables out for now,

i am some how ending up with the variable as "6" as the output, when there were more variables before, i was getting output as "13", "10", 1 2 3 4 5 6 7 8.... etc... i have no idea why it is submitting these numbers instead of custom input text....

note that it keeps looping and the part of where clicking okay to start the bot is not yet done, and end key ends it if it goes out of control...

so i need help solving why the "$wtf" is = "6", it should be custom (not yet, but no 6 exist!!)

very confused, help will be appreciated

~keotix

HotKeySet("{END}", "Terminate")
; Script Start - Add your code below here
Opt("WinWaitDelay", 100)
Opt("WinTitleMatchMode", 2)
Opt("WinDetectHiddenText", 1)
Opt("MouseCoordMode", 2)


GUICreate ( "by 4113n", 250, 300)

;Labels & Colours
GuiCtrlCreateLabel("WHAT TO DO:    Type 8 messages that you want to say '~~~~~ has logged in' into the following 8 text boxes", 5, 25, 110, 150)
GUICtrlSetColor(-1, 0x7F9A65)
GuiCtrlCreateLabel("[TIP]                           also remember short messages are best", 5, 130, 110, 150)
GUICtrlSetColor(-1, 0x63AB62)
GuiCtrlCreateLabel("[TIP]                            push the END key to teminate this bot", 5, 170, 110, 150)
GUICtrlSetColor(-1, 0x308014)
$wtf = GUICtrlCreateInput("hello world", 120, 200, 120, 20)

;button
$button = GUICtrlCreateButton("&Start", 75, 250, 80, 30)

GUISetState()

While 1
    $msg = GUIGetMsg()

            WinWait("Windows Live Messenger","")
            If Not WinActive("Windows Live Messenger","") Then WinActivate("Windows Live Messenger","")
            WinWaitActive("Windows Live Messenger","")
        

                MouseClick("left", 92, 52, 1, 1);name
                MouseClick("left", 92, 178, 1, 1);appear offline
                MouseClick("left", 92, 52, 1, 1);name
                MouseClick("left", 92, 324, 1, 1);options
                Send($wtf)
                send("{ENTER}")
                MouseClick("left", 92, 52, 1, 1);name
                MouseClick("left", 92, 74, 1, 1);online
                Sleep(200)
                
Wend

Func Terminate()
   Exit
EndFunc
When you do
Send($wtf)
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...