/cleartarget IF enemy @Pet or @Minion?

Thats not entirely true, You can do a bunch of IF statements in GSE GSE3 -if/Then Blocks coming next few days What you cant do is an if statement that is evaluated in combat.

You are right on though on the targeting totems etc.