Sign in to follow this  
Followers 0
peppermint

need a little help here

15 posts in this topic

i dunno wat am i dealing with... creating them until half way then found out that i have to put at least a key to control (make it start, pause or stop)

i cant figure out what is the key for a Pause/Break key's code, any idea here?

thx for helping ;)

$answer1 = InputBox("Spam!", "Please input ur words to be spam.")

$answer2 = InputBox("Spam!", "Please input how many times to spam.")

$msg = GuiGetMsg()

If $msg = $pause Then

Run("Notepad.exe")

WinWaitActive("Untitled")

$i = 0

Do

Send($answer1)

Send("{Enter}")

$i = $i + 1

Until $i = $answer2

EndIf

While 1

$msg = GuiGetMsg()

If $msg = $pause Then

Exit

EndIf

WEnd

Share this post


Link to post
Share on other sites



I can almost guarantee it won't be used for anything good.


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites

lol.... it's just a small bot for spamming words in the Instant Message, for example MSN Messenger...

coz using actool is quite a bit more work to open and type this and that, but if using own bot, alot faster @@"

Share this post


Link to post
Share on other sites

Call me stupid, but what does that script do? It's not formatted very well, and what is the chance that GUIGetMsg() will return $pause? It's only there for one line in the beginning. I'm not totally sure if this is what you're looking for, but here:

#NoTrayIcon
HotKeySet("{esc}","Quit")
HotKeySet("{pause}","Spam")
While 1
    Sleep(25)
WEnd
Func Spam()
    $Words = InputBox("Spam!", "Please enter the word(s) to spam.")
    $Amount = InputBox("Spam!", "Please input amount of times to send spam.")
    If $Amount > 0 Then
        If Not WinExists("Untitled") Then Run("notepad.exe")
        WinActivate("Untitled")
        WinWaitActive("Untitled")
        For $i = 0 To $Amount
            Send($Words&"{enter}")
        Next
    EndIf
EndFunc
Func Quit()
    ToolTip("Exiting")
    Sleep(700)
    Exit
EndFunc

If I post a code or snippet, please tell me what I did wrong and/or what I can do better. Tell me my code/idea sucks, if it does. If I ask for help, refrain from only telling me to search the help file and/or the forums. I will search before asking, I just may not have searched with good keywords. If I say that I will look into something or fix something later, understand that I am most likely lying.

Share this post


Link to post
Share on other sites

lol.... it's just a small bot for spamming words in the Instant Message, for example MSN Messenger...

coz using actool is quite a bit more work to open and type this and that, but if using own bot, alot faster @@"

Ha ha ha .... people who spam are ASSHOLES!

Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites

Ha ha ha .... people who spam are ASSHOLES!

And what do you call that? Unnecessary insight?


If I post a code or snippet, please tell me what I did wrong and/or what I can do better. Tell me my code/idea sucks, if it does. If I ask for help, refrain from only telling me to search the help file and/or the forums. I will search before asking, I just may not have searched with good keywords. If I say that I will look into something or fix something later, understand that I am most likely lying.

Share this post


Link to post
Share on other sites

And what do you call that? Unnecessary insight?

Who cares what it's called as long as it's true.

Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites

Obviously missed the implication... unnecessary insight = spam


If I post a code or snippet, please tell me what I did wrong and/or what I can do better. Tell me my code/idea sucks, if it does. If I ask for help, refrain from only telling me to search the help file and/or the forums. I will search before asking, I just may not have searched with good keywords. If I say that I will look into something or fix something later, understand that I am most likely lying.

Share this post


Link to post
Share on other sites

Obviously missed the implication... unnecessary insight = spam

I understand the meaning, but it was an unsolicited opinion to be exact.

Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

cool down guys, i just want to create it to say "i love u" alot times to my girlfriend :lmao:

and for crzftx,

thx for ya help, i was looking for the code of "HotKeySet" coz i cant find it inside the "Help" topic inside the autoit3 ;)

Edited by peppermint

Share this post


Link to post
Share on other sites

Call me stupid, but what does that script do? It's not formatted very well, and what is the chance that GUIGetMsg() will return $pause? It's only there for one line in the beginning. I'm not totally sure if this is what you're looking for, but here:

#NoTrayIcon
HotKeySet("{esc}","Quit")
HotKeySet("{pause}","Spam")
While 1
    Sleep(25)
WEnd
Func Spam()
    $Words = InputBox("Spam!", "Please enter the word(s) to spam.")
    $Amount = InputBox("Spam!", "Please input amount of times to send spam.")
    If $Amount > 0 Then
        If Not WinExists("Untitled") Then Run("notepad.exe")
        WinActivate("Untitled")
        WinWaitActive("Untitled")
        For $i = 0 To $Amount
            Send($Words&"{enter}")
        Next
    EndIf
EndFunc
Func Quit()
    ToolTip("Exiting")
    Sleep(700)
    Exit
EndFunc
lol, there isnt even a gui ;)

The cake is a lie.www.theguy0000.com is currentlyUP images.theguy0000.com is currentlyUP all other *.theguy0000.com sites are DOWN

Share this post


Link to post
Share on other sites

This is all I'll do just because I can't see a way of this easily annoying someone. If you are messaging someone in aim you initiate the script and than you have 10 seconds to click in the window. Anything else could be used for evil.

sleep (10000)

$i=0
While $i < 10 
sleep (200)
send("this better be used for good!!!")
sleep(200)
send("{Enter}")


$i = $i+1

Wend

Share this post


Link to post
Share on other sites

cool down guys, i just want to create it to say "i love u" alot times to my girlfriend :lmao:

and for crzftx,

thx for ya help, i was looking for the code of "HotKeySet" coz i cant find it inside the "Help" topic inside the autoit3 ;)

Have you considered copying and pasting "i love u" in the chat window if that's all the more you really want this to do?

Share this post


Link to post
Share on other sites

Have you considered copying and pasting "i love u" in the chat window if that's all the more you really want this to do?

well, i guess i'll be using this better than ever, simple and easy no need think so much

$i = 0

Do

Send("I Love You{Enter}")

$i = $i + 1

Until $i = 10

coz the pause hot key i was trying to set it as Start/Pause/Stop or Start/Stop

but it seems to be no need to do so much of other things to make myself get rid into stress as a NEWBIE XD

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