damento Newbie cheater Reputation: 0
Joined: 25 Mar 2014 Posts: 17
|
Posted: Thu Mar 02, 2017 9:33 am Post subject: Using getInternet() - How to make this work in 6.6? |
|
|
Hi,
I've been using CE 6.4, I was given this script by a friend a while back but am now trying to get this script working in 6.6. Right now, it's just doing nothing, but I'm guessing I've done something wrong.. (I have tried to make it work with the new 6.6 getInternet().
Code: |
function login()
local cmdData = "command="..tostring("login&name="..name.Text);
local int2 = getInternet()
local Data1, Status = int2.getURL(loginURL..'login.php', cmdData);
if (Status == 200 and Data1) then
Data1 = (Data1);
if string.find(Data1, "FAILED") then
showMessage("login failed")
closeCE()
elseif string.find(Data1, "SUCCESS") then
end
end
end
|
Any help is greatly appreciated!
|
|