Skip to content

Instantly share code, notes, and snippets.

@GabeStah
Last active August 29, 2015 14:12
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 GabeStah/30908a7b8102600f6faf to your computer and use it in GitHub Desktop.
Save GabeStah/30908a7b8102600f6faf to your computer and use it in GitHub Desktop.
[WoW] Skip confirmation dialog for Trading Post <Trader> purchases
/run StaticPopupDialogs['CONFIRM_PURCHASE_TOKEN_ITEM'].OnShow = function() _,_,_,_,_,d=strsplit('-',UnitGUID('target')or'')if tContains({86777,87200,86779,87201,86778,86776,86683,87203,87202},tonumber(d)) then StaticPopup1Button1:Click() end end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment