Sign in to follow this  
Followers 0
keotix

where is the random variable from?

5 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites

oh thank you VERY much :)

Share this post


Link to post
Share on other sites

oh thank you VERY much :)

No problem, it's an easy detail to overlook when you're just getting started. :)

Share this post


Link to post
Share on other sites

i did that once...i was mad too..i wouldnt work! lol

Share this post


Link to post
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
Sign in to follow this  
Followers 0