Browse : 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.



28 results.

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
Workspace: Bot Libre for Business
Created: Jan 19 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 527, today: 0, week: 7, month: 7
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Dec 7, 9:07
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
Workspace: Bot Libre for Business
Created: Jul 19 2017
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 102, today: 1, week: 6, month: 7
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Yesterday, 18:45
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
Workspace: Bot Libre for Business
Created: Jan 19 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 461, today: 0, week: 6, month: 6
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Dec 7, 1:32
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
Workspace: Bot Libre for Business
Created: Jan 19 2015
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 447, today: 0, week: 6, month: 6
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Dec 7, 1:33
Weather
Weather
Answer questions about the weather using the Pannous service.
Categories: Self
Tags: self, weather, pannous
Workspace: Bot Libre for Business
Created: Mar 11 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 122, today: 0, week: 2, month: 2
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Dec 7, 1:24
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
Workspace: Bot Libre for Business
Created: Nov 2 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 95, today: 0, week: 1, month: 1
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Dec 7, 1:26
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
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 93, today: 0, week: 1, month: 1
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Dec 7, 9:22
Repeat
Repeat
This example script show how to repeat a word in a response n times.
Categories: Examples, Self
Tags: self, example, repeat
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 89, today: 0, week: 1, month: 1
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Dec 7, 9:36
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
Workspace: Bot Libre for Business
Created: Aug 25 2016
Creator: mike2016
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 83, today: 0, week: 1, month: 1
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Dec 5, 0:00
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: self, examples, xml, stocks, quotes, web service
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 75, today: 0, week: 1, month: 1
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Dec 7, 9:31
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
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 96, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Nov 28, 6:43
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
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 91, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Nov 15, 15:58
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, pizza, e-commerce
Workspace: Bot Libre for Business
Created: Oct 13 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 90, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 10, 21:00
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
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 87, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Nov 28, 7:11
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
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 86, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Nov 15, 14:42
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: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 85, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 16, 0:17
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
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 1, thumbs down: 0, stars: 5.0
Language: Self
Connects: 83, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Nov 16, 15:07
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
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 82, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 3, 23:00
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
Workspace: Bot Libre for Business
Created: Aug 25 2016
Creator: mike2016
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 82, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Nov 15, 15:20
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
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 82, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Nov 17, 7:11
Wikiquote Scraping
Wikiquote Scraping
This script shows an example of scraping data from Wikiquote.
Categories: Self, Examples
Tags: self, examples, html, wikiquote
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 82, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Nov 13, 19:30
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
Workspace: Bot Libre for Business
Created: Oct 15 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 81, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 24, 11:17
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
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 80, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Nov 8, 4:36
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
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 73, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 3, 23:01
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
Workspace: Bot Libre for Business
Created: Oct 7 2016
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 67, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Sep 27, 7:48
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
Workspace: Bot Libre for Business
Created: Jul 19 2017
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 66, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Nov 15, 22:48
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: self, examples, hr, interview, career
Workspace: Bot Libre for Business
Created: Mar 24 2017
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 61, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Oct 24, 6:50
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, examples, web service, watson
Workspace: Bot Libre for Business
Created: Feb 20
Creator: admin
Thumbs up: 0, thumbs down: 0, stars: 0.0
Language: Self
Connects: 32, today: 0, week: 0, month: 0
API Connects: 0, today: 0, week: 0, month: 0
Last Connect: Nov 29, 13:41