Welcome to Smogon! Take a moment to read the Introduction to Smogon for a run-down on everything Smogon, and make sure you take some time to read the global rules.
IF (Mirror Coat is used) THEN (use Icicle Spear)
IF (a damaging-Water-type combination is used) THEN (use Dig (Suspend) that action and Dig (Attack) the next action)
"Indeed." Earthquake~Earth Power~Earthquake
IF damaging Grass-type combo AND NOT you have a Substitute up THEN Substitute (15) and restart queue IF Dedenne is under P/E AND NOT Sandstorm is up THEN Sandstorm and restart queue
"I can deal with a Haunter. Unless it sings." Mud Bomb~Earth Power~Mud Bomb
IF Perish Song AND NOT you are under Perish Song AND NOT Haunter is confused THEN Swagger IF Taunt AND NOT Taunt last action AND NOT Taunt next action THEN Protect
IF (Gastrodon is under the effect of a protective/evasive move when you would act) THEN (use Chill and push actions back)
IF (a damaging Ground-type combination is used) AND (you do not have a Substitute up when you would act) THEN (use Reflect Type)