Scripts

Browse our open script library, or share your own scripts.

Categories

AIML
AIML
aiml



Scripts in "Unibot"

42 results.

Facebook Custom Template
Facebook Custom Template
This response list 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
Categories: Examples, Response Lists
Tags: facebook, response list, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 62, today: 0, week: 1, month: 6
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 16, 21:00
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.
Categories: Self, Bootstrap, Math
Tags: math, bootstrap, self
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 60, today: 0, week: 1, month: 6
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 16, 22:30
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.
Categories: Examples, Self, Bootstrap
Tags: geospatial, wikidata, knowledge, utils, bootstrap, self
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 59, today: 0, week: 1, month: 6
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 16, 20:14
Actions & Poses
Actions & Poses
A response list of common actions and pose responses, such as smile, laugh, sleep, etc.
Categories: Response Lists
Tags: actions, poses, response list, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 55, today: 0, week: 1, month: 6
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 16, 16:35
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.
Categories: Self, Bootstrap
Tags: names, bootstrap, self
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 47, today: 0, week: 1, month: 6
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 16, 15:58
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.
Categories: Examples, Self
Tags: sms, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 66, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 5:39
Wikiquote Scraping
Wikiquote Scraping
This script shows an example of scraping data from Wikiquote.
Categories: Examples, Self
Tags: html, wikiquote, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 64, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 7:57
Greetings
Greetings
A list of common greetings and responses.
Categories: Response Lists
Tags: common responses, response list
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 62, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 1:50
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.
Categories: Examples, Self
Tags: i spy, games, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 62, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 16, 19:05
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.
Categories: Examples, Self
Tags: stocks, quotes, web service, self, xml, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 61, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 16, 19:12
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. Unibot 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
Categories: Self
Tags: facebook, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 59, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 7:20
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.
Categories: Examples, Self
Tags: sms, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 58, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 7:18
Repeat
Repeat
This example script show how to repeat a word in a response n times.
Categories: Examples, Self
Tags: example, repeat, self
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 57, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 2:26
Books, Films, and Music
Books, Films, and Music
A script that can answer questions about books, films, and music using Wikidata.
Categories: Examples, Self
Tags: knowledge, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 56, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 5:33
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.
Categories: Self, Bootstrap
Tags: utils, bootstrap, self
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 56, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 0:10
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.
Categories: Self, Bootstrap
Tags: understanding, bootstrap, self
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 54, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 0:39
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.
Categories: Self, Bootstrap
Tags: utils, bootstrap, self
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 53, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 0:08
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.
Categories: Self, Bootstrap
Tags: utils, bootstrap, self
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 51, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 3:17
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.
Categories: Examples, Self
Tags: orders, e-commerce, pizza, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 51, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 6:30
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.
Categories: Self, Bootstrap
Tags: utils, bootstrap, self
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 50, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 3:30
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.
Categories: Self
Tags: groups, telegram, spam, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 50, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 5:35
Emotions and Sentiment
Emotions and Sentiment
A set of words tagged with emotions and sentiment. Emotions and sentiment let the bot know the feeling of the user.
Categories: Response Lists
Tags: sentiment, emotion, response list, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 48, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 5:38
Order Pizza
Order Pizza
An example response list 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.
Categories: Examples, Response Lists
Tags: orders, e-commerce, pizza, response list, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 47, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 1:49
What is (Wikidata)
What is (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.
Categories: Self, Bootstrap
Tags: knowledge, utils, bootstrap, self
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 46, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 0:27
Colors
Colors
This JSON data file can be used to load the concept of colors into your bot. This defines color meaning objects for color words, and can be used as a set in AIML or from Self. You can import JSON files from your bot's Knowledge page in its Admin Console.
Categories: Data, JSON
Tags: json, set, data, colors
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: JSON
Connects: 44, today: 0, week: 1, month: 5
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 2:03
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.
Categories: Examples, Self
Tags: geonames, rest, internet, self, xml, sraix
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 111, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 0:54
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.
Categories: Self
Tags: geospatial, facebook, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 56, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 0:56
Weather
Weather
Answer questions about the weather using the Pannous service.
Categories: Examples, Self
Tags: weather, pannous, self
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 55, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 0:57
About Me
About Me
A set of responses answering general questions about the bot. The responses use the bot's data defined in the #self object.
Categories: Examples, Response Lists
Tags: response list, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 53, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 0:58
Escalate Email
Escalate Email
This script lets the user escalate the chat session to a follow up email.
Categories: Examples, Self
Tags: email, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 53, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 0:58
Farewells
Farewells
A list of common farewells and goodbyes.
Categories: Response Lists
Tags: common responses
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 53, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 0:58
HTML Scraping
HTML Scraping
An example of using a Template to scrape HTML data from a webpage.
Categories: Examples, Response Lists
Tags: html scraping, response list, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 53, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 0:58
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.
Categories: Examples, Self
Tags: hr, interview, career, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 53, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 0:59
Service Bot
Service Bot
A set of greetings and responses for a customer service bot.
Categories: Response Lists
Tags: common responses, customer service
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 53, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 0:59
IBM Watson Example
IBM Watson Example
This script shows how you can call an IBM Watson bot or web service from IBM's Bluemix web API. For examples on calling IBM Watson's API see, https://watson-api-explorer.mybluemix.net/
Categories: Examples, Self
Tags: json, watson, web service, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 49, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 1:01
Book Appointment
Book Appointment
A script for letting the bot book appointments or service calls in your Google Calendar.
Categories: Examples, Self
Tags: calendar, virtual assistant, google calendar, booking, appointments, customer service, self, examples
Workspace: Unibot
Created: May 23 2018
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 41, today: 0, week: 0, month: 4
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 1:04
AIML2
AIML2
A set of AIML2 patterns to test and demonstrate new AIML 2.0 features.
Categories: AIML, AIML2
Tags: aiml, aiml2
Workspace: Unibot
Created: Apr 30
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 16, today: 0, week: 2, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 0:45
AIML Wikipedia Search
AIML Wikipedia Search
This script gives an example of how to search wikipedia.
Categories: AIML, AIML2
Tags: wikipedia, aiml, xpath, xml, sraix, search, examples
Workspace: Unibot
Created: Apr 30
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 15, today: 0, week: 1, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 0:54
Yumi Andou
Yumi Andou
The Yumi Andou Bot response list for the Yumi personality.
Categories: Response Lists, Personalities, Dating
Tags: response list, yumi, small talk, personality, girlfriend
Workspace: Unibot
Created: Apr 30
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 15, today: 0, week: 1, month: 3
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 2:25
Alice
Alice
The alice AIML script from the ALICE A.I. FOUNDATION. The alice script is meant to be combined with the other alice AIML scripts for the full personality.
Categories: AIML
Tags: alice, aiml
Workspace: Unibot
Created: Apr 30
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: AIML
Connects: 31, today: 0, week: 0, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 1:04
AlobiboSdk
AlobiboSdk

Categories: Bootstrap
Tags: alobibo, sdk, js
Workspace: Unibot
Created: May 14
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: JavaScript
Connects: 15, today: 0, week: 1, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 0:25
Satoshi Nakamoto
Satoshi Nakamoto
Response list for the Satoshi Nakamoto
Categories: Response Lists, Personalities, Dating
Tags: response list, personality
Workspace: Unibot
Created: Apr 30
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Response List
Connects: 14, today: 0, week: 0, month: 1
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 13, 1:08