View Single Post
05-25-21, 12:05 PM   #16
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
Ah, yes. That is indeed 2 button presses, not one. So long as they are not protected functions, you can do

Code:
if condition1 then
   do first thing
elseif condition2 then
   do other thing
else
   do third thing
end
(Though the code you linked is for an event handler, not button presses.)
(Oh, and we can't actually see button presses in a gif. )
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh


Last edited by Seerah : 05-25-21 at 12:08 PM.
  Reply With Quote