Jump to content

Recommended Posts

Hey everyone i am new here,

 

For some reason my Jscript wont work when the page is loaded

 

See

http://rune-planet.com/auto.php

 

 

My code

<script>
//author Danny @ runeplanet

var macroStart;
   macroStart ="CODE:";
   macroStart +="SET !ERRORIGNORE YES" + "\n";
   macroStart +="SET !TIMEOUT_TAG 1" + "\n";
   macroStart +="SET !TIMEOUT_STEP 1" + "\n";
   macroStart +="SET !TIMEOUT_PAGE 30" + "\n";
   macroStart +=" SET !REPLAYSPEED FAST" + "\n";
   macroStart +="SET !TIMEOUT_MACRO 150" + "\n";
   macroStart +="TAB T=1" + "\n";
   macroStart +="WAIT SECONDS=0" + "\n";
   macroStart += "TAG POS=1 TYPE=A ATTR=TXT:Facebook<SP>Likes" + "\n";
macroStart +="WAIT SECONDS=1" + "\n";
   macroStart += "TAG POS=1 TYPE=A ATTR=TXT:Like" + "\n";
   macroStart += "TAB T=2" + "\n";
   macroStart += " FRAME F=0" + "\n";
   macroStart += "TAG POS=1 TYPE=INPUT:SUBMIT ATTR=VALUE:Enter and vote" + "\n";
   macroStart += "TAB T=2" + "\n";
macroStart +="WAIT SECONDS=3" + "\n";
   macroStart += "TAB T=1" + "\n";
macroStart += "TAB CLOSEALLOTHERS" + "\n";
   macroStart +="WAIT SECONDS=3" + "\n";
   macroStart +="TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:form1 ATTR=ID:gateway-bottom" + "\n";
macroStart +="WAIT SECONDS=3" + "\n";
   macroStart += "TAG POS=1 TYPE=A ATTR=TXT:Like" + "\n";
   macroStart += "TAB T=2" + "\n";
   macroStart += " FRAME F=0" + "\n";
   macroStart += "TAG POS=1 TYPE=INPUT:SUBMIT ATTR=VALUE:Enter and vote" + "\n";
   macroStart += "TAB T=2" + "\n";
macroStart +="WAIT SECONDS=3" + "\n";
   macroStart += "TAB T=1" + "\n";
macroStart += "TAB CLOSEALLOTHERS" + "\n";
   macroStart +="WAIT SECONDS=1" + "\n";
   macroStart +="TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:form1 ATTR=ID:gateway-bottom" + "\n";
macroStart +="WAIT SECONDS=3" + "\n";
   macroStart += "TAG POS=1 TYPE=A ATTR=TXT:Like" + "\n";
   macroStart += "TAB T=2" + "\n";
   macroStart += " FRAME F=0" + "\n";
   macroStart += "TAG POS=1 TYPE=INPUT:SUBMIT ATTR=VALUE:Enter and Vote" + "\n";
   macroStart += "TAB T=2" + "\n";
macroStart +="WAIT SECONDS=1" + "\n";
   macroStart += "TAB T=1" + "\n";
macroStart += "TAB CLOSEALLOTHERS" + "\n";
   macroStart +="WAIT SECONDS=2" + "\n";
   macroStart +="TAG POS=1 TYPE=INPUT:BUTTON FORM=ID:form1 ATTR=ID:gateway-bottom" + "\n";
macroStart +="WAIT SECONDS=3" + "\n";


var i=0;
var n=prompt("Input the number of Facebook loops.",5)
for (i=1; i <= n; i++)
{
iimPlay("CODE:"+"URL GOTO=www.rune-planet.com/auto.php")

iimPlay(macroStart,25)
iimDisplay("Current loop is: "+i)
iimDisplay("Refreshing the page")
iimPlay("CODE:"+"TAB T=1\n"+"TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:reload&&VALUE:Reload<SP>the<SP>page\n"+"REFRESH")
iimDisplay("New Page")
}
</script>
<p><a href="http://www.ultimateprivateservers.com/runescape/index.php?a=in&u=runeplanet" target="_blank">Like</a></p>
<p> </p>
<p><a href="auto.php">Facebook Likes</a></p>

 

 

If you have any reason why this isn't working please do help me.

 

My skype is = zepsity.co.uk

 

 

Thanks a bunch!

Link to comment
https://forums.phpfreaks.com/topic/273383-javascrip-macro-wont-work/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.