Hi
Abdul Razzaque,
Example the script PAC file about checking IP address at the clients.
// If the IP address of the local machine is within a defined
// subnet, send to a specific proxy.
if (isInNet(myIpAddress(), "10.10.5.0", "255.255.255.0"))
return "PROXY 1.2.3.4:8080";
refer : https://findproxyforurl.com/example-pac-file/
Have a good day!
Sakkarin Pichetskul