Jump to content

need a little help here


Recommended Posts

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

Link to comment
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
Link to comment
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

Link to comment
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 ;)

Edited by peppermint
Link to comment
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

Link to comment
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
Link to comment
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?

Link to comment
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

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...