Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. Switch $TaskFunction
  2. Case "RateComment"
  3. $CurrentTask = "RateComment"
  4. $CurrentCookies = $TaskInfo[5]
  5. $Username = $TaskInfo[3]
  6. $Password = $TaskInfo[4]
  7. $VideoID = $TaskInfo[6]
  8. $CommentID = $TaskInfo[7]
  9. $DoesAccountWorks = CheckIfLoggedIn($Username,$Password)
  10. If $DoesAccountWorks = "success" Then
  11. ;LikeComment($cookie,$videoID,$Like,$commentID,$proxy = "",$referrer = "",$useragent = "")
  12. $RateComment = LikeComment($CurrentCookies,$videoID,"yes",$CommentID)
  13. $isRated = StringSplit($RateComment,'<span class="watch-comment-score watch-comment-green">+1 </span> <button class=',1)
  14. If $isRated[0] = 2 Then
  15. $sendUpdate = _POST($CurrentDns,"/youtube/webpanel/gateway.php","botid="&$BotId&"&function=CommentRating&taskid="&$TaskID&"&status=S")
  16. Else
  17. $sendUpdate = _POST($CurrentDns,"/youtube/webpanel/gateway.php","botid="&$BotId&"&function=CommentRating&taskid="&$TaskID&"&status=F")
  18. EndIf
  19. EndIf
  20. $CurrentTask = "none"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement