generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Best code ever

Previous Thread :: Next Thread 
RandmQuestnEvry5Mins is not online. RandmQuestnEvry5Mins
Joined: 29 Oct 2011
Total Posts: 87
31 Oct 2011 05:37 AM
set webbrowser = createobject("internetexplorer.application")
'webbrowser.visible = true
i = " "
do
webbrowser.navigate("http://watchout4snakes.com/CreativityTools/RandomSentence/RandomSentence.aspx")
wscript.sleep(3000)
webbrowser.refresh
wscript.sleep(3000)
set document = webbrowser.document
text = document.all.item("tmpl_main_lblSentence").innertext
text = mid(text,1,len(text)-1)
text = text & "?"
webbrowser.navigate("http://www.roblox.com/Forum/AddPost.aspx?ForumID=18")
wscript.sleep(4000)
set document2 = webbrowser.document
wscript.sleep(3000)
document2.all.item("ctl00_cphRoblox_Createeditpost1_PostForm_PostSubject").value = text
document2.all.item("ctl00_cphRoblox_Createeditpost1_PostForm_PostBody").value = i & "Just wondering..."
i = i & " "
wscript.sleep(1000)
document2.all.item("ctl00_cphRoblox_Createeditpost1_PostForm_PostButton").click
wscript.sleep(3000)
'x=createobject("wscript.shell").run("taskkill /f /im iexplore.exe",0)
wscript.sleep(15000)
loop



Log into your account in IE, put this in a VBScript file, and then run it.
Report Abuse
Persistancy is not online. Persistancy
Joined: 02 May 2011
Total Posts: 38
31 Oct 2011 05:56 AM
No ty
Report Abuse
willkillu is not online. willkillu
Joined: 18 Feb 2010
Total Posts: 1187
31 Oct 2011 11:08 AM
nahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh


internet explorer is LAME. :P
Report Abuse
TheMyrco is not online. TheMyrco
Joined: 13 Aug 2011
Total Posts: 15105
31 Oct 2011 11:13 AM
Noob above. ¬_¬
Report Abuse
RandmQuestnEvry5Mins is not online. RandmQuestnEvry5Mins
Joined: 29 Oct 2011
Total Posts: 87
31 Oct 2011 03:22 PM
@Myrco

Agreed, because this code is meant to be Windows-universal, meaning choosing another web browser would be idiotic. And there IE ActiveXObject is really easy to work with, anyways.

But what the code does is run a bot that posts a random question to a thread and writes the body as "Just wondering..." and posts it every like minute. I ran it while I was asleep and tried it. My internet hit a spike and broke it, but I got 80 posts before that happened and they all appeared serious and were just ignored. If you add the line "on error resume next" to the top, it should be able to error without crashing.
Report Abuse
kingkiller1000 is not online. kingkiller1000
Joined: 12 Dec 2008
Total Posts: 26415
31 Oct 2011 03:32 PM
I don't understand what people hate about IE in general.

When I'm at my dads house, when I'm far away from my router, yes, I use chome, because chome's speed > IEs speed.

But when I'm at my mom's house CLOSE to my router, no, I use IE, because there IE's speed > Chrome's speed.
Report Abuse
wii4 is not online. wii4
Joined: 27 Nov 2007
Total Posts: 929
31 Oct 2011 03:32 PM
FAIL THIS IS BETTAR CODE!:

//Preproscessor
#include < iostream >
#include < fstream >
#include < string >
//Define The Current Version
#define Version 2.5
//Define A Max Limit So You Noobs Wont Overdo It.
#define MaxPrints 10000000
//String For End Disclaimer
std::string str = ("LightDark 2011©, Text File Virus Version ");
using namespace std;
//Intialize Files
std::ofstream txt("TFV.txt");
std::ifstream cfg("TFV.cfg");
//Character Varible For Cin
char charvar;

//Intialize The Counter Value
int n = 0;
//Intialize The Limit Value
int Limit = 0;
//Configure The Virus's Limit
void ConfigureVirus()
{
//Get The Limit Value From The Config File
cfg >> Limit;

cout << "Config File Loaded" << endl;

}
//Printing To The File/Incrementation Of N
void Increment()
{
//Increment N
n++;
//Print To File
txt << "TFV " << n << sizeof(n) << endl;
//Print To Output
cout << "TFV " << n << endl;
//Flush The File Buffer
txt.flush();
}
int main()
{
//Call Configuration Function
ConfigureVirus();
//Make Sure Limit Is Within The Max Limit.
if(Limit < MaxPrints+1)
{
//Loop For The Ammount Defined in TFV.CFG
for (int i =0; i < Limit; i++)
{
//Call The Increment Function
Increment();
}
}
else if (Limit > MaxPrints)
{
//If Limit Is Above The Max
cout << "ERROR PRINT AMMOUNTS EXCEEDS LIMIT!" << endl;
}
//Close The Files
txt.close();
cfg.close();
//Newline
cout << "\n" << endl;
//Total Prints
cout << "Printed To File:" << n << " time(s)!" << endl;
//Compile The Disclaimer And The Current Program Version
cout << str << Version << endl;
//Get Input For Program Exit
if(cin >> charvar)
{
//Return 0 If Input Is Given.
return 0;
}
}
Report Abuse
Duskpaw61 is not online. Duskpaw61
Joined: 22 Oct 2011
Total Posts: 27
31 Oct 2011 03:51 PM
IE can actually be useful during certain times...
Report Abuse
HotThoth is not online. HotThoth
Forum Moderator
Joined: 24 Aug 2010
Total Posts: 1176
31 Oct 2011 04:09 PM
Awesome! A spam bot! Because I always wanted more spam on the forums!! Thanks!! What a productive use of all of our time! :D
Report Abuse
RandmQuestnEvry5Mins is not online. RandmQuestnEvry5Mins
Joined: 29 Oct 2011
Total Posts: 87
31 Oct 2011 04:10 PM
@HotThoth

It's not a spam bot! These threads are constructive! Don't be so negative, noob!
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
31 Oct 2011 04:11 PM
@HotThoth;

Finally! Someone who uderstands the good this can be used for!
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image