Scan with your iPhone to install
This is a chatbot like no other... in shortcuts
What's New
Version 1.1
Fixed bug that wouldnt let it work
What it does
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
View as code
Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.
#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")
}
Open in Cherri Playground
Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.
Ratings & Reviews
Write a Review–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings
No reviews yet. Be the first to share what you think!
Advertisement
More by toxbytes
You Might Also Like
Advertisement