Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var RandomPosts = ["OP, that is a great idea","sure, if you pay me","I'm not a bot people!","I like the way you think OP"," Wow man, that's racist","I only agree slightly, there is a few flaws","OP is my favorite OT'er","Your so nice","That wasn't funny","Somehow your post offends me","Stop saying I'm a bot!","My IQ is no match for you"]
- var ForumId = 18
- function Post(){
- $.get("http://www.roblox.com/Forum/ShowForum.aspx?ForumID=" + ForumId,function(Data){
- var Link = $(Data).find(".linkSmallBold")[4].href
- Link = "http://www.roblox.com/Forum/AddPost.aspx?mode=flat&PostID=" + Link.replace("http://www.roblox.com/Forum/ShowPost.aspx?PostID=","")
- $.get(Link,function(Data){
- var VS = Data.match(/id="__VIEWSTATE" value="(.+)"/)[1]
- var EV = Data.match(/id="__EVENTVALIDATION" value="(.+)"/)[1]
- $.post(Link,{
- "__VIEWSTATE" : VS,
- "__EVENTVALIDATION" : EV,
- "ctl00$cphRoblox$Createeditpost1$PostForm$PostSubject" : "Re: -",
- "ctl00$cphRoblox$Createeditpost1$PostForm$PostBody" : RandomPosts[Math.floor((Math.random() * RandomPosts.length) + 1)],
- "ctl00$cphRoblox$Createeditpost1$PostForm$PostButton" : "Post"
- })
- })
- })
- }
- Post()
- var Interval = setInterval(function(){
- Post()
- },40000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement