How do you stop a whirlwind spam

i am trying to figure out how i can stop my macro from spamming whirl wind over and over when there are other abilitys that can be used? some times it will cast it 3 times in a roll other times its like 6-8 times.

Did you try fixing your macro? Look at the math around how fast you are clicking and your GCD and look at which actions line up with where the clicks are going to land.