Advertisement
Guest User

Comment Bot!

a guest
Aug 1st, 2013
2,090
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.55 KB | None | 0 0
  1.  
  2. //Comment bot
  3. //How to use
  4. /*
  5. Enter a comment at the top.
  6.  
  7. Press f12 > console > paste the code in and press enter and it should start posting comments
  8.  
  9. takes about 30 minutes to comment out the whole catalog
  10.  
  11. Credit : wateraura / add me on skype wsf225
  12. */
  13. var Comment = "SEND ME TRADES,ACCEPTING HIGHER RAP TRADES ONLY IF I DOWNGRADE OVER PAY ALOT!!!"
  14. //
  15. var PageOn = 1
  16. var PageLimit = 96
  17. function Go(){
  18. console.log("On page " + PageOn)
  19. var BaseLink = "http://www.roblox.com/catalog/json?SortType=0&SortAggregation=3&SortCurrency=0&LegendExpanded=true&Category=0&PageNumber="
  20. $.get(BaseLink + PageOn,function(Data){
  21. for (var Object in Data){
  22. function Loop(){
  23. var Id = Data[Object]["AssetId"]
  24. $.get("http://www.roblox.com/Item-item?id=" + Id).always(function(Data){
  25. var Token = Data.match(/setToken(\W(.+)\W);/)[2].replace(/'/g,"")
  26. Token = Token.replace("+","%2B").replace("/","%2F")
  27. $.post("http://www.roblox.com/API/Comments.ashx?rqtype=makeComment&assetID=" + Id + "&token=" + Token,Comment)
  28. })
  29. }
  30. Loop()
  31. }
  32. }).always(function(){
  33. PageOn++
  34. if (PageOn == PageLimit){
  35. PageOn = 0
  36. }
  37. Go()
  38. })
  39. }
  40. Go()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement