Advertisement
DudeWithFood

forum bot test

Jun 23rd, 2015
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. */
  2. var ThreadId =165122318
  3. var BumpTimes =100
  4. //
  5. var OnBump = 0
  6. var Link = "http://www.roblox.com/Forum/AddPost.aspx?mode=flat&PostID=165122318" + ThreadId
  7. function Post(){
  8. $.get(Link,function(Data){
  9. var VS = Data.match(/id="__VIEWSTATE" value="(.+)"/)[1]
  10. var EV = Data.match(/id="__EVENTVALIDATION" value="(.+)"/)[1]
  11. $.post(Link,{
  12. "__VIEWSTATE" : VS,
  13. "__EVENTVALIDATION" : EV,
  14. "ctl00$cphRoblox$Createeditpost1$PostForm$PostSubject" : "Re: -",
  15. "ctl00$cphRoblox$Createeditpost1$PostForm$PostBody" : OnBump,
  16. "ctl00$cphRoblox$Createeditpost1$PostForm$PostButton" : "Post"
  17. })
  18. })
  19. }
  20. Post()
  21. var Interval = setInterval(function(){
  22. if (OnBump == BumpTimes){
  23. clearInterval(Interval)
  24. }
  25. Post()
  26. OnBump++
  27. },40000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement