Search Scripts

35 results.

Facebook Custom Template Script
Facebook Custom Template Script
This Self script shows you how to use custom Facebook message templates. Facebook support several message templates that let your bot use more than text message replies. Bot Libre automatically translates HTML messages from your bot to Facebook templates, including buttons, links, images, and videos, but for some templates you may require a deeper level of access. Facebook allows a JSON template to be passed with a message to provide rich content. For a list of Facebook templates see, https://developers.facebook.com/docs/messenger-platform/send-api-reference/templates
Alias: @Facebook Custom Template Script
Categories: Self
Tags: examples, facebook, self
Created: Jul 19 2017, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 147, today: 0, week: 0, month: 2
Last Connect: Oct 3, 21:34
Pizza Bot
Pizza Bot
An example script for a pizza restaurant. This script will take a pizza order, and email it to the store. You could deploy a bot using this script to any service such as web, mobile, Facebook, Telegram, etc.
Alias: @Pizza Bot
Categories: Self, Examples
Tags: e-commerce, pizza, self, orders, examples
Created: Oct 13 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 129, today: 0, week: 0, month: 2
Last Connect: Oct 13, 20:04
Calculator
Calculator
This script understands basic math, addition, subtraction, multiplication, and division, such as "what is 1 * 2 / 4 + 6 - -1", "2.2 + 5.5 =?", "one plus two".
It uses a calculator function to perform the math, not first principles like the plus script.
This is one of the bootstrap scripts.
Alias: @Calculator
Categories: Self
Tags: self, bootstrap, math
Created: Jan 19 2015, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 588, today: 0, week: 1, month: 1
Last Connect: Oct 14, 16:06
Bulk SMS
Bulk SMS
This is an example Self script that can be used with a bot connected to a Twilio SMS account. You can ask the bot to send a SMS message to a list of contacts.
Alias: @Bulk SMS
Categories: Self, Examples
Tags: examples, self, sms
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 125, today: 0, week: 1, month: 1
Last Connect: Yesterday, 8:07
Repeat
Repeat
This example script show how to repeat a word in a response n times.
Alias: @Repeat
Categories: Self, Examples
Tags: example, repeat, self
Created: Oct 15 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 122, today: 0, week: 1, month: 1
Last Connect: Yesterday, 7:44
WhatIs (Wikidata)
WhatIs (Wikidata)
Wiktionary and Wikidata lookup script.
This script will answer "What is ...", "Who is ...", "define ...", "Google ..." style of questions. It will look up word definitions in Wiktionary, or look up keywords in Wikidata. For Wikidata lookups it will also import all of the available information on the object, and be able to then answer related questions.
Alias: @WhatIs (Wikidata)
Categories: Self, Bootstrap
Tags: knowledge, self, bootstrap, utils
Created: Oct 15 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 119, today: 0, week: 1, month: 1
Last Connect: Oct 14, 10:31
WhereIs (Wikidata)
WhereIs (Wikidata)
Wikidata location lookup script. This script will answer "Where is ..." style of questions by looking up the object in Wikidata and determining what it is contained by.
This is one of the bootstrap scripts.
Alias: @WhereIs (Wikidata)
Categories: Self, Examples, Bootstrap
Tags: utils, geospatial, self, wikidata, bootstrap, knowledge
Created: Oct 15 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 115, today: 0, week: 1, month: 1
Last Connect: Oct 14, 12:02
Loop
Loop
Basic conversation loop detection script.
This is one of the bootstrap scripts. It should be first in the script order to catch all loops.
Alias: @Loop
Categories: Self, Bootstrap
Tags: self, bootstrap, utils
Created: Oct 15 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 114, today: 0, week: 1, month: 1
Last Connect: Oct 14, 16:06
Understanding
Understanding
This script attempts to understand simple phrases.
It can understand simple phrases of the form "{noun} {verb} {adjective}", such as "The sky is blue" or "I am tall", but also more complex phrases such as "What is my name?", "Is my dog black?", "My dog is very smart".
It requires knowledge of the words used to know if they are a noun, verb, or adjective. Words are normally looked up in the background on Wiktionary to determine their meaning, so you may need to say the same phrase twice before the bot understands.
All understood phrases affect the bot's knowledge base, it will remember persistently if "the sky is blue", and then be able to answer "is the sky blue?".
This is the most complex of the bootstrap scripts, and is continually evolving.
Alias: @Understanding
Categories: Self, Bootstrap
Tags: understanding, bootstrap, self
Created: Oct 15 2016, by: admin
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: Self
Connects: 114, today: 0, week: 1, month: 1
Last Connect: Yesterday, 7:18
Stock Quotes
Stock Quotes
This script show an example of accessing stock quotes from the Quandi web service. You can use it as is, or modify it as you wish. Please replace the Quandi api-key with your own api-key.
Alias: @Stock Quotes
Categories: Self, Examples
Tags: stocks, examples, quotes, self, xml, web service
Created: Oct 15 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 110, today: 0, week: 1, month: 1
Last Connect: Yesterday, 7:27
Telegram Group Administrator
Telegram Group Administrator
This script gives an example Telegram script to let a bot administer a Telegram group. Bots can welcome new users, provide information, and delete offensive messages and spam.
Alias: @Telegram Group Administrator
Categories: Self
Tags: self, groups, examples, spam, telegram
Created: Jul 19 2017, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 101, today: 0, week: 0, month: 1
Last Connect: Oct 1, 23:38
Interview Bot
Interview Bot
An example script for a n HR interview bot. This script will ask a potential new employee a set of interview questions, and email the results to your HR email. You could deploy a bot using this script to any service such as web, mobile, Facebook, Telegram, etc.
Alias: @Interview Bot
Categories: Self, Examples
Tags: hr, career, examples, interview, self
Created: Mar 24 2017, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 88, today: 0, week: 1, month: 1
Last Connect: Yesterday, 7:47
Sentiment Response
Sentiment Response
This script gives a different response to the user's question based on the sentiment of their phrase.
Alias: @Sentiment Response
Categories: Self, Examples
Tags: sentiment, self, examples
Created: Feb 8, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 19, today: 0, week: 1, month: 1
Last Connect: Yesterday, 23:26
My Name Is
My Name Is
A script for understand names and greeting people.
This script understands phrases like "My name is Joe", "I am Joe", "Who are you?".
This is a bootstrap script.
Alias: @My Name Is
Categories: Self
Tags: self, bootstrap, names
Created: Jan 19 2015, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 521, today: 0, week: 0, month: 0
Last Connect: Sep 28, 3:58
Topic
Topic
This script can respond what the current topic is, and reply to questions on the conversation.
It responds to questions like "What is the current topic", "Tell me more", "What did I say", "What did you say". This is a bootstrap script.
Alias: @Topic
Categories: Self
Tags: self, bootstrap, utils
Created: Jan 19 2015, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 515, today: 0, week: 0, month: 0
Last Connect: Sep 28, 3:59
Weather
Weather
Answer questions about the weather using the Pannous service.
Alias: @Weather
Categories: Self
Tags: self, weather, pannous
Created: Mar 11 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 161, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:31
Books, Films, and Music
Books, Films, and Music
A script that can answer questions about books, films, and music using Wikidata.
Alias: @Books, Films, and Music
Categories: Self, Examples
Tags: knowledge, examples, self
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 137, today: 0, week: 0, month: 0
Last Connect: Sep 23, 20:49
Escalate SMS
Escalate SMS
This is an example Self script that sends an SMS text message when the user asks the "escalate" their service request.
Alias: @Escalate SMS
Categories: Self, Examples
Tags: self, examples, sms
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 134, today: 0, week: 0, month: 0
Last Connect: Sep 18, 14:10
Book Appointment
Book Appointment
A script for letting the bot book appointments or service calls in your Google Calendar.
Alias: @Book Appointment
Categories: Self, Examples
Tags: calendar, self, examples, booking, appointments, virtual assistant, customer service, google calendar
Created: Nov 2 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 132, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:33
Escalate Email
Escalate Email
This script lets the user escalate the chat session to a follow up email.
Alias: @Escalate Email
Categories: Self, Examples
Tags: examples, email, self
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 129, today: 0, week: 0, month: 0
Last Connect: Sep 20, 11:27
Math
Math
This script understands basic math, addition, subtraction, multiplication, and division, such as "what is 1 * 2 / 4 + 6 - -1", "2.2 + 5.5 =?", "one plus two".
It uses a calculator function to perform the math, not first principles like the plus script.
This is one of the bootstrap scripts.
Alias: @Math
Categories: Self, Bootstrap, Math
Tags: self, math, bootstrap
Created: Oct 15 2016, by: admin
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: Self
Connects: 120, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:15
Say It
Say It
The script responds to requests like "Say you like me" "Yell you like cheese". It will simply repeat the phrase, minus the "say" and replacing 1st and 2nd person.
This is a bootstrap script.
Alias: @Say It
Categories: Self, Bootstrap
Tags: self, bootstrap, utils
Created: Oct 15 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 119, today: 0, week: 0, month: 0
Last Connect: Sep 23, 22:49
Wikiquote Scraping
Wikiquote Scraping
This script shows an example of scraping data from Wikiquote.
Alias: @Wikiquote Scraping
Categories: Self, Examples
Tags: self, wikiquote, examples, html
Created: Oct 15 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 118, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:22
I Spy
I Spy
An "I Spy" colors game that you can play with your bot. This game will actually teach your bot about colors, and it will learn new objects and colors as you play.
Alias: @I Spy
Categories: Self, Examples
Tags: self, examples, games, i spy
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 111, today: 0, week: 0, month: 0
Last Connect: Sep 26, 23:48
DateAndTime
DateAndTime
This script answers questions about the date and time.
It can answer questions like "What is the date", "What is the time", "What is the day of the week" This is one of the bootstrap scripts.
Alias: @DateAndTime
Categories: Self, Bootstrap
Tags: utils, bootstrap, self
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 108, today: 0, week: 0, month: 0
Last Connect: Sep 14, 14:41
HTML Scraping
HTML Scraping
An example of using a Template to scrape HTML data from a webpage.
Alias: @HTML Scraping
Categories: Examples, Response Lists
Tags: examples, response list, self, html scraping
Created: Oct 13 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 105, today: 0, week: 0, month: 0
Last Connect: Sep 21, 18:56
GeoNames
GeoNames
This examples shows how to lookup a postal code using the GeoNames webservice. This same code can be used to access any web service.
Alias: @GeoNames
Categories: Self, Examples
Tags: sraix, internet, rest, geonames, xml, self
Created: Oct 7 2016, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 93, today: 0, week: 0, month: 0
Last Connect: Sep 29, 23:30
Facebook Location Request
Facebook Location Request
This script gives an example script for how to request and process the user's location in a Facebook Messenger bot.
Alias: @Facebook Location Request
Categories: Self
Tags: self, geospatial, examples, facebook, location
Created: Feb 19, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 15, today: 0, week: 0, month: 0
Last Connect: Sep 14, 18:20
SetData
SetData
This script sets data on the current conversation.
Alias: @SetData
Categories: Self
Tags: data, example, self
Created: Feb 19, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 15, today: 0, week: 0, month: 0
Last Connect: Sep 14, 18:21
Telegram Location Request
Telegram Location Request
This script gives an example script for how to request and process the user's location in a Telegram Messenger bot.
Alias: @Telegram Location Request
Categories: Self
Tags: self, geospatial, examples, telegram, location
Created: Feb 19, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 15, today: 0, week: 0, month: 0
Last Connect: Sep 14, 18:21
GeoNames JSON Response List Example
GeoNames JSON Response List Example
An example response list that calls the GeoNames web service.
Alias: @GeoNames JSON Response List Example
Categories: Examples, Response Lists
Tags: response list, self, web service, json
Created: Feb 19, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 14, today: 0, week: 0, month: 0
Last Connect: Sep 28, 20:07
Mailing List
Mailing List
This script gives an example of a mailing list bot that sends email notifications of new blog posts using a timer function.
Alias: @Mailing List
Categories: Examples, Self
Tags: self, email, examples, timer
Created: Feb 19, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 14, today: 0, week: 0, month: 0
Last Connect: Sep 23, 12:10
YouTube Search
YouTube Search
This is an example script that searches YouTube for a video using the Google YouTube search API. Note, you require a Google API key to call the API. https://developers.google.com/youtube/v3/docs/search/list
Alias: @YouTube Search
Categories: Examples, Self
Tags: self, json, examples, web service, google, youtube
Created: Feb 19, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 14, today: 0, week: 0, month: 0
Last Connect: Sep 14, 18:13
Count Words
Count Words
This example script show how to count the words in a sentence.
Alias: @Count Words
Categories: Examples, Self
Tags: example, self
Created: Feb 19, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 13, today: 0, week: 0, month: 0
Last Connect: Sep 14, 15:12
Wikipedia Search
Wikipedia Search
An example Self script that searches Wikipedia.
Alias: @Wikipedia Search
Categories: Self, Examples
Tags: xpath, search, xml, wikipedia, examples, web service, self
Created: Feb 19, by: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 13, today: 0, week: 0, month: 0
Last Connect: Sep 14, 15:12