Fixes in samples
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
--[[
|
--[[
|
||||||
|
|
||||||
This script is getnerated by ChatGPT
|
This script is generated by ChatGPT
|
||||||
|
|
||||||
Prompt:Search the internet for examples of scripts for AIO Launcher and write a script named "Jepardy" that will display a question from its database of questions with three answer options on the screen. If the answer is correct, a toast "Correct!" should appear on the screen, and a new question should be displayed. If the answer is incorrect, display a toast "Not correct" and present a new question. The database should contain questions in English.
|
Prompt:Search the internet for examples of scripts for AIO Launcher and write a script named "Jepardy" that will display a question from its database of questions with three answer options on the screen. If the answer is correct, a toast "Correct!" should appear on the screen, and a new question should be displayed. If the answer is incorrect, display a toast "Not correct" and present a new question. The database should contain questions in English.
|
||||||
|
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
function on_resume()
|
|
||||||
local s1 = {
|
|
||||||
key1 = "123",
|
|
||||||
key2 = "val ue 2",
|
|
||||||
}
|
|
||||||
|
|
||||||
settings:set_kv(s1)
|
|
||||||
|
|
||||||
local s2 = settings:get_kv()
|
|
||||||
|
|
||||||
ui:show_text("key1=\""..s2.key1.."\" ".."key2=\""..s2.key2.."\"")
|
|
||||||
end
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user