Free Trial
Sign In : Sign Up : Blog : Search: Language : Help :
Browse : Self
Self
Self

Self

Scripts written in the Self scripting language. Self is the scripting language used in Paphus Live Chat chat bots.

Categories

Bootstrap
Bootstrap
Scripts that are part of the basic bot bootstrap set.



27 results.

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
Tags: utils, bootstrap, self
Domain: Bot Libre for Business
Created: Jan 19 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 336, today: 0, week: 0, month: 7
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 23, 9:05
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
Tags: bootstrap, self, names
Domain: Bot Libre for Business
Created: Jan 19 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 345, today: 0, week: 0, month: 5
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 21, 15:14
Weather
Weather
Answer questions about the weather using the Pannous service.
Categories: Self
Tags: self, weather, pannous
Domain: Bot Libre for Business
Created: Mar 11 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 65, today: 0, week: 0, month: 5
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:10
Wrong Answer
Wrong Answer
The script will listen for the phrases "wrong" or "bad answer" and ask for a correction, and learn the new response.
Categories: Self
Domain: Bot Libre for Business
Created: Aug 25 2016
Creator: mike2016
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 33, today: 0, week: 0, month: 5
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 23, 6:31
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: Self, Examples
Tags: self, examples, i spy, games
Domain: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 32, today: 0, week: 0, month: 5
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 23, 6:58
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: self, geonames, rest, xml, sraix, internet
Domain: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 31, today: 0, week: 0, month: 5
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 23, 10:46
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
Categories: Self
Tags: self, examples, facebook
Domain: Bot Libre for Business
Created: Jul 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 5, today: 0, week: 1, month: 5
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 19, 10:46
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.
Categories: Self
Tags: bootstrap, self, math
Domain: Bot Libre for Business
Created: Jan 19 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 378, today: 0, week: 0, month: 4
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 23, 6: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: Self, Examples
Tags: self, examples, orders, e-commerce, pizza
Domain: Bot Libre for Business
Created: Oct 13 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 35, today: 0, week: 1, month: 4
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Yesterday, 19:05
Escalate Email
Escalate Email
This script lets the user escalate the chat session to a follow up email.
Categories: Examples, Self
Tags: self, examples, email
Domain: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 31, today: 0, week: 0, month: 4
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:08
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: bootstrap, self, understanding
Domain: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 31, today: 0, week: 0, month: 4
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:10
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: self, examples, sms
Domain: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 29, today: 0, week: 0, month: 4
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:08
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: self, examples, sms
Domain: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 28, today: 0, week: 0, month: 4
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 23, 3:56
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: self, examples, groups, telegram, spam
Domain: Bot Libre for Business
Created: Jul 19
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 4, today: 0, week: 0, month: 4
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 19, 10:46
Repeat
Repeat
This example script show how to repeat a word in a response n times.
Categories: Examples, Self
Tags: self, example, repeat
Domain: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 37, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:09
Books, Films, and Music
Books, Films, and Music
A script that can answer questions about books, films, and music using Wikidata.
Categories: Self, Examples
Tags: self, examples, knowledge
Domain: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 33, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:08
Book Appointment
Book Appointment
A script for letting the bot book appointments or service calls in your Google Calendar.
Categories: Examples, Self
Tags: customer service, self, examples, calendar, virtual assistant, google calendar, booking, appointments
Domain: Bot Libre for Business
Created: Nov 2 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 30, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:07
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: Bootstrap, Self
Tags: utils, bootstrap, self
Domain: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 30, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:09
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: Self, Bootstrap, Examples
Tags: utils, bootstrap, self, knowledge, geospatial, wikidata
Domain: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 30, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:10
Wikiquote Scraping
Wikiquote Scraping
This script shows an example of scraping data from Wikiquote.
Categories: Self, Examples
Tags: self, examples, html, wikiquote
Domain: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 29, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:10
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: Bootstrap, Math, Self
Tags: bootstrap, self, math
Domain: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 28, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:09
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: Bootstrap, Self
Tags: utils, bootstrap, self
Domain: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 27, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 21, 13:36
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: Self, Examples
Tags: hr, career, examples, interview, self
Domain: Bot Libre for Business
Created: Mar 24
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 19, today: 0, week: 0, month: 3
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:09
Vision
Vision
This script demonstrates some of Bot Libre's support for vision and image processing.
"load image http://urltoimage imagename" can be used to load an image.
"match image http://urltoimage" can be used to match an image.
"init colors" to load red/green/blue colors.
"what color is http://urltoimage" to guess images primary color.

Categories: Self
Domain: Bot Libre for Business
Created: Aug 25 2016
Creator: mike2016
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 37, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:10
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.
Categories: Self, Bootstrap
Tags: utils, bootstrap, self, knowledge
Domain: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 30, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 23, 5:20
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
Domain: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 29, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 18, 9:09
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: Self, Examples
Tags: stocks, examples, quotes, self, xml, web service
Domain: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 28, today: 0, week: 0, month: 2
API Connects: 0, today: 0,week: 0, month: 0
Last Connect: Jul 21, 8:48