1. #1

    how to define a script on right mous in a macro?

    Hi guys,

    I want to build a macro like:

    #showtooltip water element
    /cast [button:1] water element
    /script [button:2] PetDismiss()

    How is it possible?

    Thanks in adavance
    Kigama

  2. #2
    The Lightbringer
    15+ Year Old Account
    Join Date
    Jun 2008
    Location
    Italy
    Posts
    3,564
    scripts don't like conditionals
    Code:
    #showtooltip Summon Water Elemental
    /cast [button:1] Summon Water Elemental
    /stopmacro [button:1]
    /script PetDismiss()

  3. #3
    thank you very much, works perfectly

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •