// ReddX Achievement Automator by planting42
// Open a post with lots of comments (500+) to use the upvote|downvoter.
// Left trigger will start upvoting each comment for (Upvoting Obama)
// Right trigger will start downvoting each comment for (Downvoting Roman)
// Pressing LS when on 'REPLY' on a frontpage post will start adding a blank comment to each post for (Good Advice Mallard)
// Pressing RS when on the frontpage will switch between 2 posts to increment (All The Things)
int up;
int down;
int post;
int view;
main
{
if (event_press (7)) {up =!up}; // LT - upvote
if (up) {combo_run (RedU)};
if (!up) {combo_stop (RedU)}
if (event_press (4)) {down =!down}; // RT - downvote
if (down) {combo_run (RedD)};
if (!down) {combo_stop (RedD)};
if (event_press (8)) {post =!post}; // LS - post
if (post) {combo_run (RedP)};
if (!post) {combo_stop (RedP)}
if (event_press (5)) {view =!view}; // RT - switch between 2 posts
if (view) {combo_run (RedV)};
if (!view) {combo_stop (RedV)};
}
combo RedU {
set_val(14, 100);
wait (100);
wait (1000);
set_val(19, 100);
wait (100);
wait (1000);
set_val(19, 100);
wait (100);
wait (1000); }
combo RedD {
set_val(14, 100);
wait (100);
wait (1000);
set_val(19, 100);
wait (100);
wait (500);
set_val(19, 100);
wait (100);
wait (500);
set_val(19, 100);
wait (100);
wait (1000); }
combo RedP { // Position the cursor on 'Reply' on a Frontpage post and hit LS - Ensure there is no ad playing!
set_val(19, 100);
wait (100);
wait (1500);
set_val(14, 100);
wait (100);
wait (1000);
set_val(19, 100);
wait (75);
wait (75);
set_val(19, 100);
wait (75);
wait (75);
set_val(19, 100);
wait (75);
wait (75);
set_val(19, 100);
wait (75);
wait (75);
set_val(19, 100);
wait (75);
wait (75);
set_val(19, 100);
wait (75);
wait (75);
set_val(19, 100);
wait (75);
wait (75);
set_val(19, 100);
wait (75);
wait (75);
wait (1000); }
combo RedV { // Position cursor on top post (Frontpage) and hit RS
set_val(14, 100);
wait (100);
wait (500);
set_val(19, 100);
wait (100);
wait (500);
set_val(13, 100);
wait (100);
wait (500);
set_val(19, 100);
wait (100);
wait (500); }