Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("/XynSoft/System/SysCC/xs")
- xs.FS(colors.white)
- xs.F("h",1,colors.gray)
- xs.F("h"2,colors.gray)
- xs.F("h"3,colors.gray)
- xs.Write("XynSoft 1.0",5,2,colors.gray,colors.white)
- xs.Write("Setup",14,2,colors.gray,colors.lightGray)
- function GetLang()
- local file = fs.open("/XynSoft/System/Data/lang","r")
- local data = file.readAll()
- return data
- end
- l = GetLang()
- if l == "en" then
- e1 = "Welcome to the XynSoft 1.0 Setup"
- e2 = "Username - "
- e3 = "Password - "
- e4 = "Label - "
- e5 = "Choose your color: "
- e6 = "Advanced Settings"
- e7 = "Next"
- e8 = "This are your configurations: "
- e9 = " -- Terms of Useage --"
- e10 = "- Do not use this operating system for illegal operations"
- e11 = "- Do not break the system, you don't get EXTENDED help"
- e12 = "- Don't use the system code for your own work"
- e13 = "-- Copyright --"
- e14 = "- Copyight (C) Fluxcraft Labs. All rights reserved."
- e15 = "OK, Next"
- e16 = "I do not argee"
- e17 = "Configurate"
- t18 = "Data Covering"
- t19 = "Automatic encryption"
- t20 = "RedNet Connecion Firewall"
- t21 = "Pastebin System Check"
- t22 = "RedNet Network Finder"
- t23 = "Extra Memory Pincode"
- t24 = "More configurations in the Configuration Center..."
- t25 = "Apply"
- t26 = "Cancel"
- e27 = "XynSoft Succesfully configurated"
- e28 = "Reboot"
- elseif l == "nl" then
- e1 = "Welkom bij de XynSoft 1.0 Setup"
- e2 = "Gebruikersnaam - "
- e3 = "Wachtwoord - "
- e4 = "Label - "
- e5 = "Kies je kleur: : "
- e6 = "Geadvanceerde Instellingen"
- e7 = "Volgende"
- e8 = "Dit zijn je Aangebrachte configuraties: "
- e9 = " -- Terms of Useage --"
- e10 = "- Do not use this operating system for illegal operations"
- e11 = "- Do not break the system, you don't get EXTENDED help"
- e12 = "- Don't use the system code for your own work"
- e13 = "-- Copyright --"
- e14 = "- Copyight (C) Fluxcraft Labs. All rights reserved."
- e15 = "OK, Volgende"
- e16 = "Ik accepteer dit niet"
- e17 = "Configureer"
- t18 = "Data Bescherming"
- t19 = "Automatische encryptie"
- t20 = "RedNet Verbinding Firewall"
- t21 = "Pastebin Systeem Controle"
- t22 = "RedNet Netwerk Zoeker"
- t23 = "Extra Geheugen Pincode"
- t24 = "Meer configuraties in het Configuratie Centrum"
- t25 = "Toepassen"
- t26 = "Annuleren"
- e27 = "XynSoft is met succes geconfigureerd"
- e28 = "Opnieuw Opstarten"
- else
- xs.FS(colors.white)
- xs.BC(colors.gray)
- xs.TC(colors.white)
- sec = 10
- for i = 1,10
- xs.Write("Err: Undifined Language. Rebooting after "..sec.." Seconds."
- sleep(1)
- sec = sec - 1
- end
- os.reboot()
- end
- xs.Write(e1,15,6,colors.white,colors.black)
- xs.F("h",11,colors.gray)
- xs.F("h"12,colors.gray)
- xs.F("h"13,colors.gray)
- if l == "en" then
- xs.Write("Next",20,12,colors.gray,colors.white)
- elseif l == "nl" then
- xs.Write("Volgende",20,12,colors.gray,colors.white)
- else
- xs.Write("Err",20,12,colors.gray,colors.white)
- sleep(5)
- os.reboot()
- end
- t1 = true
- while t1 do
- if xs.ShellEventAdv("mouse_click",1,1,42,11,13) then
- t1 = false
- end
- end
- xs.FS(colors.white)
- xs.F("h",1,colors.gray)
- xs.F("h",2,colors.gray)
- xs.F("h",3,colors.gray)
- xs.Write("XynSoft 1.0",5,2,colors.gray,colors.white)
- xs.Write("Setup",14,2,colors.gray,colors.lightGray)
- xs.Write(e2,6,6,colors.white,colors.black)
- xs.Write(e3,6,8,colors.white,colors.black)
- xs.Write(e4,6,10,colors.white,colors.black)
- user = xs.Input(e2,nil,6,6,colors.white,colors.gray)
- pass = xs.Input(e3,nil,6,8,colors.white,colors.gray)
- labl = xs.Input(e4,nil,6,10,colors.white,colors.gray)
- xs.FS(colors.white)
- xs.F("h",1,colors.gray)
- xs.F("h",2,colors.gray)
- xs.F("h",3,colors.gray)
- xs.Write("XynSoft 1.0",5,2,colors.gray,colors.white)
- xs.Write("Setup",14,2,colors.gray,colors.lightGray)
- xs.Write(e5,18,6,colors.white,colors.black)
Advertisement
Add Comment
Please, Sign In to add comment