Jump to content

Archived

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

muchlis

Please help me to complete this code

Recommended Posts

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

Share this post


Link to post
Share on other sites

in my opinion, sometimes the command fails because the point suddenly becomes a comma

Share this post


Link to post
Share on other sites

×
×
  • Create New...