Scan med din iPhone for at installere
This is a chatbot like no other... in shortcuts
Nyheder
Version 1.1
Fixed bug that wouldnt let it work
Hvad den gør
17 handlinger-
CommentType only one word per input it has no memory and type with all lowercase letters
-
Save File
-
Save File
-
File
-
Get Dictionary from Input
-
Ask for InputAsk me something
-
If
-
File
-
Get Dictionary from Input
-
Repeat with Each
-
If
-
Get Dictionary Value
-
Random Number
-
Get Item from List
-
Show Result
-
If
-
Show AlertS O R R Y
Vis som kode
Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.
#include 'actions/documents'
#define color green
#define glyph brain
// Type only one word per input it has no memory and type with all lowercase letters
saveFile("/untitled folder/chatbot_responses_full_casual", true)
saveFile("/untitled folder/chatbot_inputs_fixed", true)
const File = file()
const InputList = getDictionary(File)
prompt("Ask me something", false)
if InputList['Values'] contains {
const File1 = file()
const Dictionary = getDictionary(File1)
for _ in InputList['Keys'] {
if @RepeatItem contains {
const DictionaryValue = getValue(Dictionary, @RepeatItem)
const RandomNumber = randomNumber(1, 200)
getListItem(DictionaryValue, RandomNumber)
show()
}
}
} else {
alert("Im not smart enough :(", "S O R R Y")
}
Åbn i Cherri Playground
Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.
Bedømmelser og anmeldelser
Skriv en anmeldelse–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ingen anmeldelser endnu. Vær den første!
Annonce
Mere fra toxbytes
Du vil måske også kunne lide
Annonce