Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/data/data/com.termux/files/usr/bin/sh
- if python /data/data/com.termux/files/home/bots/markovbot/chatbot.py $1 $2 $3 > /sdcard/Markov/reply.txt; then
- am broadcast --user 0 -a markov.chatbot -e response "OK" > /dev/null
- else
- am broadcast --user 0 -a markov.chatbot -e response "NO" > /dev/null
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement