Scanne avec ton iPhone pour installer
This is a chatbot like no other... in shortcuts
Nouveautés
Version 1.1
Fixed bug that wouldnt let it work
Ce qu’il fait
17 actions-
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
Afficher en tant que code
Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.
#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")
}
Ouvrir dans Cherri Playground
Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.
Notes et avis
Écrire un avis–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aucun avis pour le moment. Sois le premier à partager ton avis !
Publicité
Plus de toxbytes
Ça pourrait aussi te plaire
Publicité