Conditional #showtootip workarounds?

Conditional #showtootip workarounds?

by amethystx » Mon Dec 07, 2015 1:07 pm

So you can have somewhat functional basic #showtooltip (except without the flashing for auto-abilities like Attack or Shoot) using addons like SuperMacro.

But my WotLK rogue I use stuff like:
Code: Select all
#showtooltip [form:1/3]Ambush;[form:0]Backstab
/startattack [form:0/3]
/stopattack [form:1]
/use [form:1/3]Ambush;[form:0] Backstab


With SuperMacro on my Nostalrius rogue I use:
Code: Select all
/run if not buffed("Stealth") then cast("Backstab") else cast("Ambush") end
/run if not buffed("Stealth") then cast("Attack") end


This doesn't show the tooltip of Ambush using Stealth and Backstab without. Is it possible to code this in 1.12.1 .lua syntax?
amethystx
Tester
 

Return to Addons & macros