route failover

ok is there a way i can make a script to change cost if it does not reach a certain destination like www.google.co.za then it should use my other gateway?

http://wiki.mikrotik.com/wiki/Improved_Netwatch

ok im really dumb concerning scripting can u help me to do the presses like i don’t know how long or when where to make it run repeatedly?

http://wiki.mikrotik.com/wiki/Advanced_Routing_Failover_without_Scripting