Skip to content

Instantly share code, notes, and snippets.

@SamMousa
Created February 1, 2021 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SamMousa/3dc284ea56b91cefcda8363fb49c4afe to your computer and use it in GitHub Desktop.
Save SamMousa/3dc284ea56b91cefcda8363fb49c4afe to your computer and use it in GitHub Desktop.
WoW Classic macro for flying to BB after worldbuff in SW
/run flyticker = C_Timer.NewTicker(5, function() for i=1,40 do local n,_,_,_,_,_,_,_,_ = UnitBuff("player", i); if n == "Rallying Cry of the Dragonslayer" then print("Flying"); TakeTaxiNode(9); flyticker:Cancel(); return; end; end; print("W8"); end, 999)
@SamMousa
Copy link
Author

SamMousa commented Feb 1, 2021

Be sure to have the dialog for picking a taxi destination open.
To cancel the timer either reload your UI or use this:

/run flyticker:Cancel();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment