Jump to content


Photo

Stopping a long macro


Best Answer Arcon , 15 September 2014 - 12:47 PM

There is no way to stop a single command. However, if you alias other commands to run multiple smaller commands, you can change the alias to stop executing. For example:

 

alias one input /ma 'Fire Carol' <me>; wait 5; ... and so on
alias five one;one;one;one;one
alias twenty five;five;five;five
alias hundred twenty;twenty;twenty;twenty;twenty
alias thousand hundred;hundred;hundred;hundred;hundred;hundred;hundred;hundred;hundred;hundred

 

Now you can do //thousand and it will start the cycle a thousand times. To stop it, just type this:

unalias one

 

But honestly, you should consider writing simple Lua scripts to achieve that, they are interactive and you can implement a proper cycling and stopping mechanism. You can even use some pre-made skillup files for that. There are a few GS files that do it on the BG forums.

Go to the full post


    1 reply to this topic

    #1 togame

    togame

      Newbie

    • Members
    • Pip
    • 3 posts

      Posted 14 September 2014 - 01:34 PM

      Is there any way to stop a very long macro? For instance, I make a macro to play all bard songs for skillup. Is there a way to stop this macro once it has started?



      #2 Arcon

      Arcon

        Advanced Member

      • Windower Staff
      • 1189 posts
      • LocationMunich, Germany

      Posted 15 September 2014 - 12:47 PM   Best Answer

      There is no way to stop a single command. However, if you alias other commands to run multiple smaller commands, you can change the alias to stop executing. For example:

       

      alias one input /ma 'Fire Carol' <me>; wait 5; ... and so on
      alias five one;one;one;one;one
      alias twenty five;five;five;five
      alias hundred twenty;twenty;twenty;twenty;twenty
      alias thousand hundred;hundred;hundred;hundred;hundred;hundred;hundred;hundred;hundred;hundred

       

      Now you can do //thousand and it will start the cycle a thousand times. To stop it, just type this:

      unalias one

       

      But honestly, you should consider writing simple Lua scripts to achieve that, they are interactive and you can implement a proper cycling and stopping mechanism. You can even use some pre-made skillup files for that. There are a few GS files that do it on the BG forums.






      1 user(s) are reading this topic

      0 members, 1 guests, 0 anonymous users