Sign in to follow this  
Followers 0
gamepin126

Jerkcity spammer

8 posts in this topic

#1 ·  Posted (edited)

Ok, maybe I didn't get it working. I don't know how to make it send the $x variable and not the actual "$x" text.

Edit: Code removed due to adsense problems

Edited by Jon

Share this post


Link to post
Share on other sites



Hi,

try something like:

Global $jcArray[4] = ['','IM SOME KIND OF GAY RODENT','YOU APPEAR TO BE GAYER THAN I', _
'BUT I DONT MISS THE PART WHERE YOU WACK MY NUTS WITH A STICK FOR FORTY MINUTE STRETCHES']
Global $i = 1
HotKeySet("{DOWN}", "jc")

While 1
sleep(3000)
WEnd

Func jc()
Send($jcArray[$i] & "{ENTER}")
$i += 1
EndFunc

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I figured it out, but my internet shut off like a hour ago. That array will be massive and not very easy to read.

 

Edited by Jon

Share this post


Link to post
Share on other sites

Hi,

but I would prefer using an array. :D

Change the Select case to Switch case, that is faster and better scripting.

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Hi,

but I would prefer using an array. :D

Change the Select case to Switch case, that is faster and better scripting.

So long,

Mega

Thanks, that's actually my first time using cases. So many functions xD

Share this post


Link to post
Share on other sites

Hi,

but I would prefer using an array. :D

Change the Select case to Switch case, that is faster and better scripting.

So long,

Mega

I've done quite a few test on that, and I can't prove that true, did you do something to prove that out of curiousity?

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

I've done quite a few test on that, and I can't prove that true, did you do something to prove that out of curiousity?

Hi SmOke_N,

no I haven't tested it. :"> But I thought switch saves reading the one $var in every case again.

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

GLobal $array[6]
$array[0] = 5
$array[1] = "Hi" 
$array[2] = "I"
$array[3] = "am"
$array[4] = "Daniel"
$array[5] = "W."
Run("notepad.exe")
WinWaitActive( "Unbenannt - Editor" )
Sleep(1000)
For $a = 1 to $array[0]
    Send( $array[$a] )
Next

Do it like this :D


--------------------------------------------------------------------------------------------------------------------------------Scripts : _Encrypt UDF_UniquePCCode UDF MS like calculatorInstall programm *UPDATED* --------------------------------------------------------------------------------------------------------------------------------[quote name='Helge' post='213117' date='Jul 26 2006, 10:22 AM']Have you ever tried surfing the internet with a milk-carton ?This is similar to what you're trying to do.[/quote]

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