Jump to content
  • 0

Please help me to complete this code


muchlis

Question

alert = gg.alert("πŸ“₯ Do you want to download?", "Yes", "No")

if alert == 1 then
download()
else
os.exit()
end

function download()
downloadupdate = gg.prompt({'πŸ“‚ Select path output download :',}, {[1] = '/sdcard/Download',}, {[1] = 'path'})
if downloadupdate then
gg.toast("πŸ“₯ Downloading......")
gg.makeRequest("http://raw.githubusercontent.com/Revoxtical/ELGGByRevo/master/ELGGByRevo.v5.5.lua")
gg.alert("File has been save to : πŸ“‚ Β "..downloadupdate[1], "Exit")
Β end
end

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.