can you pls explain this a bit to me?

you mean as if it replies 127.0.0.1 then it is a bot othervise itz not and how to make it in that script to check it?

or not?

enlight my horizons please