How can I set a delay with the HTML 5 client

I am trying to set an alias where I can def up when I enter realms and some things require mineral balance, or that I regain equlibrium. How can I set a delay to allow for this?

Best Answers

  • Accepted Answer
    I don't know about the HTML client, to be honest, but the general best way to do that is to make a trigger for the balance, and every time you recover, do the next thing on a list. Track defences/etc with variables.
    Current scripts: GoldTracker 1.2, mData 1.1
    Site: https://github.com/trevize-achaea/scripts/releases
    Thread: http://forums.achaea.com/discussion/4064/trevizes-scripts
    Latest update: 9/26/2015 better character name handling in GoldTracker, separation of script and settings, addition of gold report and gold distribute aliases.

Answers

  • edited January 2014
    this looks nice! I was looking for a timer that updates, and prints the time I have left every second. This is what I have got so far.  Its not updating the timer for some reason. any ideas?
    var delayedAction = setTimeout(function() {
      
         
        var timer = timer - 1000;
        print("time left is " + timer);
    }, 1000);


    as for now it only prints "time left is NaN"

    edit: nevermind I go tit.
  • Thanks Everyone for the information. It was very helpful.
  • hey guys im really really bad at doing this kind of thing! what i want is to set an alias or trigger to harvest herbs. but i require a delay to compensate for balance recovery! aslo im that bad a writing these that i would like to ask for a blow by blow on ow to do it :(

Sign In or Register to comment.