1. #5201
    Quote Originally Posted by skmzarn View Post
    With button 1 it will equip the Time-Lost teleport trinket, clicking again, it will start channeling the portal. Clicking on button 2 will equip my normal trinket and unequip the Time-Lost teleport trinket.

    Can this be done better with conditions, like noequipped, stopmacro, etc, to use the same button depending what trinket is equipped? Or just improve it in general? I don't know how to do, and if it's even possible. Need some assistance, please!
    Well, a possible improvement would be to use the equipment manager (or outfitter, or some other addon based replacement) to manage your equipment. Then instead of specifically calling out the PPoP, you would instruct the game to "equip the outfit blah", which you can update the content of. That makes it more robust to changes to your trinkets over time.

  2. #5202
    Hello need help with adding new function to my old macros

    Code:
    /focus [btn:1]
    /stopmacro [nobtn:2]
    /skada toggle
    Which basicly put focus on my target if I click on it with mouse button 1, If I click it with mouse button 2 it will show\hide skada. Now what I want to add is this command - /aa show and I want it to activate with middle mouse click (button 3). I though it will be simple as
    Code:
    /focus [btn:1]
    /stopmacro [nobtn:2]
    /skada toggle
    /stopmacro [nobtn:3]
    /aa show
    But it doesn't work, anyone know how to make it work ?

  3. #5203
    Pandaren Monk Tearor's Avatar
    Join Date
    Dec 2007
    Location
    Դժոխք
    Posts
    1,867
    Quote Originally Posted by lolec123 View Post
    Hello need help with adding new function to my old macros

    Code:
    /focus [btn:1]
    /stopmacro [nobtn:2]
    /skada toggle
    Which basicly put focus on my target if I click on it with mouse button 1, If I click it with mouse button 2 it will show\hide skada. Now what I want to add is this command - /aa show and I want it to activate with middle mouse click (button 3). I though it will be simple as
    Code:
    /focus [btn:1]
    /stopmacro [nobtn:2]
    /skada toggle
    /stopmacro [nobtn:3]
    /aa show
    But it doesn't work, anyone know how to make it work ?
    Well if you press it with button 3, it stops at the first stopmacro, obviously. I can't logically think of any way to do it without modifiers.
    No point mentioning these bats, I thought. The poor bastard will see them soon enough.

  4. #5204
    Quote Originally Posted by Tearor View Post
    Well if you press it with button 3, it stops at the first stopmacro, obviously. I can't logically think of any way to do it without modifiers.
    Yea, and how to do it with modifiers ? If you can help me, I'll be very happy

  5. #5205
    Quote Originally Posted by lolec123 View Post
    Hello need help with adding new function to my old macros

    Code:
    /focus [btn:1]
    /stopmacro [nobtn:2]
    /skada toggle
    Which basicly put focus on my target if I click on it with mouse button 1, If I click it with mouse button 2 it will show\hide skada. Now what I want to add is this command - /aa show and I want it to activate with middle mouse click (button 3). I though it will be simple as
    Code:
    /focus [btn:1]
    /stopmacro [nobtn:2]
    /skada toggle
    /stopmacro [nobtn:3]
    /aa show
    But it doesn't work, anyone know how to make it work ?
    The reason your second macro doesn't work is because of the first /stopmacro.

    To help you understand why the first /stopmacro is causing it to fail, here's basically what your second macro does depending on what mouse button is clicked:
    Button 1: Line 1
    Button 2: Line 2 and Line 3
    Button 3: Line 2

    As you can see, the reason your second macro is not working is because it doesn't even get past the 2nd line when you click it with the middle mouse button. Since it wasn't right clicked, the second line's conditional statement [nobtn:2] is true, causing the macro to stop running beyond this button and lines 4 and 5 to be ignored.

    EDIT: Removed "fixed" macro because it didn't seem to work after all.
    Last edited by Disconnected; 2014-06-20 at 08:10 PM.

  6. #5206
    Quote Originally Posted by Rarch View Post
    You need to indicate exists in there, I believe. I think it's trying to cast on your focus and mouseover, whether or not they exist. You can use "harm" as exists, as well.

    Try this:

    Code:
    #showtooltip
    /use [mod:shift, @focus, harm, nodead][@mouseover, harm, nodead][] Shadowstep
    It wasn't working because he was using "nomod" in combination with a condition, therefore it never got to "[]". Your solution works but disables ShS utility to teleport to friendly targets both on focus and mouseover.

    Quote Originally Posted by Disconnected View Post
    The reason your second macro doesn't work is because of the first /stopmacro.

    To help you understand why the first /stopmacro is causing it to fail, here's basically what your second macro does depending on what mouse button is clicked:
    Button 1: Line 1
    Button 2: Line 2 and Line 3
    Button 3: Line 2

    As you can see, the reason your second macro is not working is because it doesn't even get past the 2nd line when you click it with the middle mouse button. Since it wasn't right clicked, the second line's conditional statement [nobtn:2] is true, causing the macro to stop running beyond this button and lines 4 and 5 to be ignored.

    EDIT: Removed "fixed" macro because it didn't seem to work after all.
    Not sure what you suggested, but I would think "[nobtn:2/3]" should work. However since that would cause Skada to toggle, you would need to add that aswell on the last command. My idea would be something like this:
    Code:
    /focus [btn:1]
    /stopmacro [nobtn:2/3] //allows right and middle click
    /skada toggle
    /stopmacro [nobtn:3] //breaks on right click
    /skada toggle //de-toggles skada
    /aa show

  7. #5207
    Quote Originally Posted by banur View Post
    It wasn't working because he was using "nomod" in combination with a condition, therefore it never got to "[]". Your solution works but disables ShS utility to teleport to friendly targets both on focus and mouseover.



    Not sure what you suggested, but I would think "[nobtn:2/3]" should work. However since that would cause Skada to toggle, you would need to add that aswell on the last command. My idea would be something like this:
    Code:
    /focus [btn:1]
    /stopmacro [nobtn:2/3] //allows right and middle click
    /skada toggle
    /stopmacro [nobtn:3] //breaks on right click
    /skada toggle //de-toggles skada
    /aa show
    Thank you sir, it's all working But I don't understand why we need two /skada toggle but I didn't change a thing because it's all working!

  8. #5208
    Pandaren Monk Tearor's Avatar
    Join Date
    Dec 2007
    Location
    Դժոխք
    Posts
    1,867
    Quote Originally Posted by lolec123 View Post
    Thank you sir, it's all working But I don't understand why we need two /skada toggle but I didn't change a thing because it's all working!
    It's just that spark of genius that I didn't get. Simple and effective.
    When I tried to solve your problem, I couldn't think of a way to either execute skada or aa. Neither did banur, but he came up with the simplest and elegant solution:
    Middle click toggles Skada two times, with effectively no change on Skada, thus middle click only shows aa.
    No point mentioning these bats, I thought. The poor bastard will see them soon enough.

  9. #5209
    Quote Originally Posted by Tearor View Post
    It's just that spark of genius that I didn't get. Simple and effective.
    When I tried to solve your problem, I couldn't think of a way to either execute skada or aa. Neither did banur, but he came up with the simplest and elegant solution:
    Middle click toggles Skada two times, with effectively no change on Skada, thus middle click only shows aa.
    Brilliant genius.

  10. #5210
    Pandaren Monk Tearor's Avatar
    Join Date
    Dec 2007
    Location
    Դժոխք
    Posts
    1,867
    Quote Originally Posted by lolec123 View Post
    Brilliant genius.
    Well... I had to exaggerate a bit, because I didn't think of it
    No point mentioning these bats, I thought. The poor bastard will see them soon enough.

  11. #5211
    High Overlord
    Join Date
    Jul 2012
    Location
    Sweden
    Posts
    117
    Quote Originally Posted by SlippyCheeze View Post
    Well, a possible improvement would be to use the equipment manager (or outfitter, or some other addon based replacement) to manage your equipment. Then instead of specifically calling out the PPoP, you would instruct the game to "equip the outfit blah", which you can update the content of. That makes it more robust to changes to your trinkets over time.
    Thanks, I'll try the ingame Equipment Manager and see how that works.

  12. #5212
    Have a problem with this macro again:

    #showtooltip
    /use [mod:shift, @focus, harm, nodead][@mouseover, harm, nodead][] Shadowstep

    It works fine on 'harmful' targets, but Shadowstep can also be used on friendly targets.
    Without the 'harm' part, the macro won't work on the current target.

    What can I use instead of 'harm' to make the spell usable on both friendly targets and harmful targets.

  13. #5213
    Quote Originally Posted by FiXThEPiEcEs View Post
    Have a problem with this macro again:

    -snip-
    It works fine on 'harmful' targets, but Shadowstep can also be used on friendly targets.
    Without the 'harm' part, the macro won't work on the current target.

    What can I use instead of 'harm' to make the spell usable on both friendly targets and harmful targets.
    Try:
    Code:
    /use [mod:shift,@focus,exists,nodead][@mouseover,exists,nodead][]Shadowstep

    Gershuun @ Borean Tundra US - Interface & Macros Moderator

  14. #5214
    Quote Originally Posted by lawomous View Post
    Try:
    Code:
    /use [mod:shift,@focus,exists,nodead][@mouseover,exists,nodead][]Shadowstep
    Thanks fully works now

  15. #5215
    As a frost mage, I'm looking for a single-button macro that will dismiss my water elemental if it is active, and summon it when it's not, without using any key-modifiers (i.e. SHIFT or CTRL or ALT; I try to avoid using modifiers). The current macro I'm using is:

    #showtooltip Summon Water Elemental
    /script PetDismiss()
    /cast Summon Water Elemental

    This works during the 1 minute cooldown after summoning the water elemental. However, after that time and the water elemental is active, it will dismiss and immediately summon it again. Is there something I can add?

    Thanks in advance!

  16. #5216
    Quote Originally Posted by Krothos View Post
    As a frost mage, I'm looking for a single-button macro that will dismiss my water elemental if it is active, and summon it when it's not, without using any key-modifiers (i.e. SHIFT or CTRL or ALT; I try to avoid using modifiers). The current macro I'm using is:

    #showtooltip Summon Water Elemental
    /script PetDismiss()
    /cast Summon Water Elemental

    This works during the 1 minute cooldown after summoning the water elemental. However, after that time and the water elemental is active, it will dismiss and immediately summon it again. Is there something I can add?

    Thanks in advance!
    I don't know if pet classes can use pet-exists conditionals. If not then maybe you can use a /target and target exists conditionals.

    Obviously it will cause problems with other mages' elementals in the area.

  17. #5217
    Quote Originally Posted by Krothos View Post
    As a frost mage, I'm looking for a single-button macro that will dismiss my water elemental if it is active, and summon it when it's not, without using any key-modifiers (i.e. SHIFT or CTRL or ALT; I try to avoid using modifiers). The current macro I'm using is:

    #showtooltip Summon Water Elemental
    /script PetDismiss()
    /cast Summon Water Elemental

    This works during the 1 minute cooldown after summoning the water elemental. However, after that time and the water elemental is active, it will dismiss and immediately summon it again. Is there something I can add?

    Thanks in advance!

    You can just add [nopet] to it, like so:

    Code:
    #show Summon Water Elemental
    /script PetDismiss()
    /cast [nopet] Summon Water Elemental

  18. #5218
    Adding '[nopet]' seems to work! Thank you for the suggestion.

Posting Permissions

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