Help with a macro

Sign in to follow this  

4 posts in this topic

So, I'd like to use this macro, but have no clue how to write it.

I want a macro that will check to see if I have a focus, If i dont it will focus my mouseover.  If I do have a focus it will cast havoc on my focus target.  Can anyone help me out?

Share this post

Link to post
Share on other sites


Not sure how to write the first part either. Are you sure that you want Focus and Havoc on the same button anyhow? As it does reduce your flexibility in where you put your Havoc.

Anyhow here are the macros I use incase they are still of use.

My macro to set Focus:

/focus [@mouseover,exists,harm,nodead][@target,exists]
/stopmacro [@mouseover,exists][@target,exists]
/clearfocus [@mouseover,noexists][@target,noexists]

I'm sure that it could probably be written better (and have no clue what the second line means!) but it does the job that I want.

My Havoc macro:

#showtooltip Havoc
/cast [@mouseover,exists,harm,nodead] Havoc 
/cast [mod:alt,@focus] Havoc
/cast Havoc

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.