code: function createAgent() {
      return new Socks.Agent({
              proxy: {
                  ipaddress: process.argv[3],
                  port: parseInt(process.argv[4]),
                  type: parseInt(process.argv[2])
              }}
      );
  }
docs: Use next line in your code var AgarioClient = require('agario-client'); //Use this in your code We will need to create new agent for every new connection so we will make function