Étape 1:. Extension de fichier VBS
Voici le code
'This sends txt via the sendkeys statement to what txtarea has focus at the time'Repeatedly until the variable 'mynum' is reachedset a = createobject("wscript.shell")mytxt=inputbox("Send what text?","Type some text","Oh Yeah!") mynum=inputbox("How many times to send the text?","spamnumber","3") myspeed=inputbox("How fast to spam..In milisecs!","delay","200") mywait=inputbox("Time to wait proir to sending the spam msg in secs","Wait?","5")msgbox("You have " & mywait & " secs to put focus on your target text area!") wscript.sleep (mywait*1000) for i=1 to mynum 'count down from mynum variable a.sendkeys (mytxt) 'Sends the text you typed in the mytxt prompt a.sendkeys ("{ENTER}") 'presses the enter key to send your text you may change it to the apropriate key that sends the msg in your chat wscript.sleep (myspeed) 'sleeps OR waits the amount of Milseconds you typed in the Mywait prompt next msgbox("Finished Spamming!")
''
Le code tout est bien commenté, décrire ce que fait chaque ligne de code.
Il n’est pas beaucoup à cela comme vous pouvez le voir, il est assez compréhensible et ne devrait pas beaucoup expliquer.
Vous pouvez « Copier & coller » le code dans le « bloc-notes » puis choisissez « Enregistrer sous » Select « All Files » et puis nommez-le « chatspammer.vbs », ou vous pourriez simplement le télécharger ci-dessous.
J’ai joint le fichier .vbs (code) et téléchargé sur ce ici instructable.
Simplement, téléchargez-le et ouvrez-le pour exécuter le code.
Vous pouvez également « Clic droit » le fichier et choisissez « Modifier » puis sélectionnez « bloc-notes » pour modifier/visualiser le code.