{
  "actions": [
    {
      "actionId": 603,
      "appliesTo": -1,
      "argTypes": [
        1,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "argValues": [
        "//The server ip-retrieval was performed by an external program\r\n//that is hard-coded to pull a very specific file from a very\r\n//specific URL. I have since lost that website, and the  person\r\n//who created ipStore.exe for me is no longer in contact with me.\r\nchoice = show_message_ext(\"Use which method to get the Battle Network Online server address?\",\"&Download\",\"&Manually\",\"&Cancel\");\r\n\r\nif(choice == 1)\r\n{\r\nshow_message(\"Please wait while Batlle Network Online retreives the server address...\");\r\ndatafile_export(ipStore,working_directory+\"\\BNO Data\\ipStore.exe\");\r\nexecute_program(working_directory+\"\\BNO Data\\ipStore.exe\",1,1);\r\nif(file_exists(\"ipStore.ip\"))\r\n{\r\nipfile = file_text_open_read(\"ipStore.ip\");\r\nglobal.serverip = file_text_read_string(ipfile);\r\nfile_text_close(ipfile);\r\nfile_delete(\"ipStore.ip\");\r\nfile_delete(working_directory+\"\\BNO Data\\ipStore.exe\");\r\nshow_message(\"The Battle Network Online server address has been successfully retreived!\");\r\n}\r\nelse\r\n{\r\nfile_delete(working_directory+\"\\BNO Data\\ipStore.exe\");\r\nshow_message(\"Unable to retreive the Battle Network Online server address. Please check your internet connection and firewall settings.\");\r\n}\r\n}\r\nelse if(choice == 2)\r\n{\r\nglobal.serverip = get_string(\"Please enter the Battle Network Online server IP address:\",\"127.0.0.1\");\r\n}"
      ],
      "isRelative": false
    }
  ],
  "eventNumber": 4,
  "eventType": 6
}
