--Alle Rechte an SimSoft 2.1 sind "SimlorLP" (oder in Minecraft auch nur "Simlor") vorbehalten.
BC(128)
TC(1)
Clear()
BC(32768)

print("                                                   ")
print("                                                   ")
print("                                                   ")

CP(15,2)
print("SimSoft 2.1 - SappS")

BC(256)
CP(1,7)
print("                                                   ")
print("                                                   ")
print("                                                   ")
print("                                                   ")
print("                                                   ")
print("                                                   ")
print("                                                   ")
print("                                                   ")

CP(4,8)
TC(1)
BC(256)
print("Enter SappS code")

CP(4,10)
TC(128)
write("SappS-Code - ")
TC(1)
print("Click here!")

BC(128)
CP(2,18)
TC(1)
print("Desktop")

BC(256)
TC(128)
CP(4,13)
print("SappS-Code? www.simsoft-en.jimdo.com/sapps")


--Touch

while true do
 event,side,x,y = os.pullEvent()
 if event == "mouse_click" then
  
  if x >= 17 and x <= 29 and y == 10 then
   CP(17,10)
   BC(256)
   print("              ")
   CP(17,10)
   TC(1)
   sappscode = read()
   
   BC(256)
   CP(1,7)
   print("                                                   ")
   print("                                                   ")
   print("                                                   ")
   print("                                                   ")
   print("                                                   ")
   print("                                                   ")
   print("                                                   ")
   print("                                                   ")
   
   CP(6,8)
   TC(1)
   print("Is the code correct : ",sappscode," ?")
   
   CP(6,10)
   BC(256)
   TC(128)
   print("Yes, conti.")
   
   CP(20,10)
   print("No, back")
   
   while true do
    event,side,x,y = os.pullEvent()
	if event == "mouse_click" then
	 
	 if x >= 6 and x <= 15 and y == 10 then

      shell.run("pastebin get "..sappscode.." SimSoft/Daten/Download/"..sappscode)
      shell.run("SimSoft/Daten/Download/"..sappscode)
      shell.run("delete SimSoft/Daten/Download/"..sappscode)
      os.reboot()
      break
	 end
	 
	 if x >= 20 and x <= 32 and y == 10 then
	  shell.run("SimSoft/System/SappS")
	  break
	 end
	 if x >= 2 and x <= 12 and y == 18 then
	  shell.run("SimSoft/System/Desktop")
	  break
	 end
	end
   end
  end
	  
	  
  
  if x >= 2 and x <= 12 and y == 18 then
   shell.run("SimSoft/System/Desktop")
   break
  end
 end
end