Use the following macro:
/micon "Cast"
/ac "Thaliak's Favor"
/ac "Cast"
and put it on a higher hotbar then the actual cast button (if you want to have the regular cast button on your hotbar for manual fishing in the first place. So let’s say if you put this macro on hotbar 1 and the regular cast button on hotbar 2 miqobot will use the macro for fishing.
there is no need to add a <wait.2> command after Thaliak’s Favor.