enable netwatch

i want simple script to enable netwatch if ping down with dilea 2 minute

Here is an example how to use netwatch
http://wiki.mikrotik.com/wiki/Manual:Tools/Netwatch#Basic_examples

thx but i need script to enable the netwach rule
it easy script but need print command to enable and i dont know how to use it in script

thx i had find it

/tool netwatch print brief
/tool netwatch enable 0

It’s not a good Idea to use console numbers in scripts
This one is correct script

/tool netwatch enable [find host="x.x.x.x"]

thx