Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if($('body', window.parent.frames[0].document).querySelectorAll("[alt='The wastelands']")[0]){
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='The wastelands']")[0].parentElement.click();
- }
- else{
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Go back to the base']")[0].parentElement.click();
- setTimeout(function() {
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='The wastelands']")[0].parentElement.click();
- }, 1500);
- }
- setInterval(function() {
- if(
- ($('body', window.parent.frames[2].document).querySelectorAll("[src='graphics/life.gif']")[0])
- )
- {
- if(($('body', window.parent.frames[2].document).querySelectorAll("[src='graphics/life.gif']")[0].offsetWidth)<2){
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Search for an enemy to fight']")[0].parentElement.click();
- setTimeout(function() {
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Fight until one of you is dead.']")[0].parentElement.click();
- }, 400);
- setTimeout(function() {
- if($('body', window.parent.frames[0].document).querySelectorAll("[alt='Pickup this item']")[0]){
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Pickup this item']")[0].parentElement.click();
- }
- }, 800);
- setTimeout(function() {
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Go back to the base']")[0].parentElement.click();
- }, 1200);
- setTimeout(function() {
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Go to the hospital']")[0].parentElement.click();
- }, 1600);
- setTimeout(function() {
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Recieve a healing injection']")[0].parentElement.click();
- }, 2000);
- setTimeout(function() {
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Go back to the base']")[0].parentElement.click();
- }, 2400);
- setTimeout(function() {
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='The wastelands']")[0].parentElement.click();
- }, 2800);
- }
- else{
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Search for an enemy to fight']")[0].parentElement.click();
- setTimeout(function() {
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Fight until one of you is dead.']")[0].parentElement.click();
- }, 500);
- setTimeout(function() {
- if($('body', window.parent.frames[0].document).querySelectorAll("[alt='Pickup this item']")[0]){
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Pickup this item']")[0].parentElement.click();
- }
- }, 1000);
- }
- }
- else{
- $('body', window.parent.frames[2].document).querySelectorAll("[value='Am I out of stasis yet?']")[0].click();
- setTimeout(function() {
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='Go back to the base']")[0].parentElement.click();
- }, 500);
- setTimeout(function() {
- $('body', window.parent.frames[0].document).querySelectorAll("[alt='The wastelands']")[0].parentElement.click();
- }, 1000);
- }
- }, 3200);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement