This is how I changed the code its working 100% thanks for the help in dutch "dit werk bedonnerd" "baie dankie"

If @IPADDRESS0 >= "172. 26.181. 34" AND @IPADDRESS0 <= "172. 26.181.152"
"Do your stuff" ?
Else
Exit 1
EndIf
sleep 10