Nat S Ford (natf) wrote,
Nat S Ford
natf

WoW macros/scripts post 3.3

My WoW programming/macro fu has deserted me tonight. I cannot remember how to write a macro that does what the following pseudocode says:

if I have a target
/s something about %t
else
/s something else
endif
do something

Can anyone help me out? The part I cannot remember is how to test whether I have a target or not without setting a target for myself in the macro - not what I need! I have found a few ways of doing the if/else construct but cannot find how to test if I have a target. The changes post 3.3 make a difference as well.
Tags: warcraft, wow
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment