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