Jump to content
Sign in to follow this  

Help with a macro

Recommended Posts

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...