void MQOEvents_onRequestCharacterLogin(object obj) { if (!LoginWebClient.IsBusy) { MQOEvents.TestEvent("Attempting to login..."); var values = new NameValueCollection { { "CharId", (string)obj.ToString() }, }; // Upload the values string tempUri = "http://midenquest.com/Game.aspx"; LoginWebClient.UploadValues(tempUri, values); MQOEvents.Connected(true); } else { MQOEvents.TestEvent("Login Client is busy"); } }