orwell 0 Report post Posted January 31, 2017 I need 2 macros. 1- Spammable stealth which won't get you out of stealth if pushed again, but when it's pushed with SHIFT, it gets you out of stealth. 2- Sinister Strike with spammable autoattack 0 Share this post Link to post Share on other sites
WobLight 5 Report post Posted February 1, 2017 1- (Server down, not tested) /run if ({GetSpellCooldown(GetSpellID("Stealth"),"spell")})[3]~=0 xor IsShiftKeyDown() then CastSpellByName("Stealth")end 2- I don't get what you need... 0 Share this post Link to post Share on other sites
Gregory 1 Report post Posted February 1, 2017 a. Easier way - install addon from this thread 1. /cast [nostealth] Stealth; [stealth mod:shift] Stealth 2. /cast Sinister Strike /cast !Attack Without addons: 1. Use one from post above 2. /cast Sinister Strike /script if not IsCurrentAction(60) then UseAction(60) end; You need to place Attack button to slot 60 or any other just change number in macro. Slot numbers you can check here 0 Share this post Link to post Share on other sites
Chrisyn 0 Report post Posted February 1, 2017 Spoiler The easiest way would be to just use /script if (not PlayerFrame.inCombat) then AttackTarget() end /cast Sinister Strike 0 Share this post Link to post Share on other sites
Gregory 1 Report post Posted February 1, 2017 (edited) This macro doesnt allow you to autochange targets in combat when previous target dies or when mob aggro on you first. So its not only easier but also worse. Edited February 1, 2017 by Gregory 0 Share this post Link to post Share on other sites
altoholic 2 Report post Posted February 2, 2017 11 hours ago, Gregory said: This macro doesnt allow you to autochange targets in combat when previous target dies or when mob aggro on you first. Is there a way to avoid that problem ? The "dead mob still in target" is a little bit annoying. 0 Share this post Link to post Share on other sites
Gregory 1 Report post Posted February 2, 2017 Use macro I posted. It work always. 0 Share this post Link to post Share on other sites
orwell 0 Report post Posted February 2, 2017 (edited) On 2/1/2017 at 3:56 PM, Gregory said: 1. /cast [nostealth] Stealth; [stealth mod:shift] Stealth 2. /cast Sinister Strike /cast !Attack Installed cast conditionals. 1 doesn't work. It works like normal stealth, getting me out of stealth on second click. Can u check that? 2. works nicely Edited February 2, 2017 by orwell 0 Share this post Link to post Share on other sites
orwell 0 Report post Posted February 2, 2017 On 2/1/2017 at 2:07 PM, WobLight said: 1- (Server down, not tested) /run if ({GetSpellCooldown(GetSpellID("Stealth"),"spell")})[3]~=0 xor IsShiftKeyDown() then CastSpellByName("Stealth")end 2- I don't get what you need... 1. gives an error, coulnd't upload image, can u test it? 0 Share this post Link to post Share on other sites
WobLight 5 Report post Posted February 3, 2017 (edited) 22 hours ago, orwell said: 1. gives an error, coulnd't upload image, can u test it? Ah, looks like there's no 'xor' operator... /run local i,a,sn sn="Stealth" i=0 while a~=sn do i=i+1 a=GetSpellName(i,"spell")end if ({GetSpellCooldown(i,"spell")})[3]~=0 == not IsShiftKeyDown() then CastSpellByName(sn)end This should do. EDIT: Expanded GetSpellID, which was not defined. Edited February 3, 2017 by WobLight 0 Share this post Link to post Share on other sites
orwell 0 Report post Posted February 4, 2017 17 hours ago, WobLight said: Ah, looks like there's no 'xor' operator... /run local i,a,sn sn="Stealth" i=0 while a~=sn do i=i+1 a=GetSpellName(i,"spell")end if ({GetSpellCooldown(i,"spell")})[3]~=0 == not IsShiftKeyDown() then CastSpellByName(sn)end This should do. EDIT: Expanded GetSpellID, which was not defined. Not getting out of stealth by shift clicking :( 0 Share this post Link to post Share on other sites
WobLight 5 Report post Posted February 4, 2017 (edited) On 4/2/2017 at 6:48 AM, orwell said: Not getting out of stealth by shift clicking :( shift+click on buttons is used for sticky buttons and may not work, try to replace IsShiftKeyDown() with IsControlKeyDown() (or IsAltKeyDown) and try using Ctrl (or Alt); or use a keybind. Edit: Also check that shit+key is not already bound to something else by default. Edited February 5, 2017 by WobLight 0 Share this post Link to post Share on other sites
orwell 0 Report post Posted February 6, 2017 On 2/4/2017 at 0:12 PM, WobLight said: shift+click on buttons is used for sticky buttons and may not work, try to replace IsShiftKeyDown() with IsControlKeyDown() (or IsAltKeyDown) and try using Ctrl (or Alt); or use a keybind. Edit: Also check that shit+key is not already bound to something else by default. It worked when I unbounded shift-R. Great call. ty! 0 Share this post Link to post Share on other sites