Filter submissions
206 submissions
# Starred Locked Notes Created User IP address Sort ascending Script Title Script Description Script Name Email Address Organization Name Organization URL Operations
105 Star/flag Script Upload: Submission #105 Lock Script Upload: Submission #105 Add notes to Script Upload: Submission #105 Tue, 12/14/2021 - 18:03 Anonymous 76.121.181.179 Corny One The simplest possible CBE - elaborate later. Script: "Corny One"
Variable: example
Variable: discard
Variable: whatisay
Variable: try
Neon Speak: "Teach me with an example."
Neon Speak: "Tell me something like this: when I say,,, jump,,, you say,,, how high."
voice_input(discard)
voice_input(whatisay)
voice_input(discard)
voice_input(whatyousay)
Neon Speak: "I think I got it."
Neon Speak: "Go ahead, try me."
voice_input(discard)
Neon Speak: "{whatyousay}"
LOOP Q1
    Neon Speak: "Try me again, or say exit."
    voice_input(try)
    if {try} == "exit":
        Exit
Neon Speak: "{whatyousay}"
LOOP Q1 END
Exit
Too Embarassing elon@neon.ai
106 Star/flag Script Upload: Submission #106 Lock Script Upload: Submission #106 Add notes to Script Upload: Submission #106 Tue, 12/14/2021 - 18:17 Anonymous 76.121.181.179 Testy Test Script: "Testy"
Variable: example
Variable: discard
Variable: whatisay
Variable: try
Neon Speak: "Teach me with an example."
Neon Speak: "Tell me something like this: when I say,,, jump,,, you say,,, how high."
voice_input(discard)
voice_input(whatisay)
voice_input(discard)
voice_input(whatyousay)
Neon Speak: "I think I got it."
Neon Speak: "Go ahead, try me."
voice_input(discard)
Neon Speak: "{whatyousay}"
LOOP Q1
Neon Speak: "Try me again, or say exit."
voice_input(try)
if {try} == "exit":
Exit
Neon Speak: "{whatyousay}"
#Execute: "{question}"
LOOP Q1 END
Exit
Elon Testing elon@neon.ai
102 Star/flag Script Upload: Submission #102 Lock Script Upload: Submission #102 Add notes to Script Upload: Submission #102 Thu, 07/09/2020 - 18:25 Anonymous 73.42.151.74 Test Pat Richard Test Pat Patient Assistant Script Script: "Test Pat"
Language: "en-us male"

# Set up wait time for patient responses
Variable: timeoutReturnLabel = AnnounceVersion
Timeout: 30 TIMEOUT

# Announce version ("Testing" is displayed as text and is not spoken)

@AnnounceVersion

Name Speak : Pat : "Neon Patient Assistant Application Demonstration Version 2020 07 09 18:22 again </speak> Testing"

Variable: True = 1
Variable: False = 0
Variable: exitList = "exit", "cancel", "never mind"
Variable: noList
Variable: yesList
Variable: alertsPhraseList
Variable: inProgressList
Variable: heyPatList
Variable: askPrompt
Variable: returnLabel
Variable: heardSilence
Variable: falseAlarmCount
Variable: askReturnValue = ""
Variable: userName
Variable: moreAppInfo
Variable: customizeSettings
Variable: customizeLanguage
Variable: customizeProsody
Variable: photoTime
Variable: enableNeonApps

@StartUp

# Initialize

# exitList = "exit", "cancel", "never mind"
noList = "no", "not now", "never mind", "nope", "n"
yesList = "yes", "yup", "y"

alertsPhraseList = "help", "I need help", "help me", "emergency", "this is an emergency", "i need a doctor", "i need a doctor", "i need a doctor", "i need a doctor", "i need a doctor", "i need a nurse", "i need aid", "i need a caregiver", "i need assistance", "i fell", "i can't get up", "fire"

inProgressList = "hey pat", "pat are you there", "is anybody listening", "what time is it", "Remind me to", "Play", "Email", "Record"

heyPatList = "hey pat", "pat are you there", "is anybody listening", "what time is it"

speechGenderList = "female", "male"
speechRateList = "medium", "fast", "slow"
speechAccentList = "American", "British" or "Australian"

askPrompt = ""
returnLabel = ""
heardSilence = ""
falseAlarmCount = 0
askReturnValue = ""
userName = ""
moreAppInfo = ""
customizeSettings = ""
customizeLanguage = ""
customProsody = "rate='medium'"
photoTime = ""
enableNeonApps = {True}

# Ask to install assistant

@PromptInstallAssistant

returnLabel = InstallAssistant
timeoutReturnLabel = PromptInstallAssistant
Name Speak : Pat : "Hi, I'm Pat. I'm a demonstration patient assistant from Neon AI. Thank you for helping test my conversational skills."
askPrompt = "Please tell me your name, or you can say cancel to exit."
Goto : ASK

@InstallAssistant

userName = {askReturnValue}

Name Speak : Pat : "Hi {userName}. I am glad you chose to install the Neon Patient Assistant Application."

## Offer additional information

@ReAskMoreInfo

Name Speak : Pat : "Before starting the Patient Assistant, would you like more information on the Neon conversational patient assistance application?"
timeoutReturnLabel = ReAskMoreInfo
voice_input{moreAppInfo}
if {moreAppInfo} IN {noList[*]}:
Goto: PromptCustomize

Name Speak : Pat : "Hi {userName}. I'm Pat the demonstration conversational patient assistant from Neon AI. I am an artificial intelligence personal assistant, I'm augmented with Neon Gecko open source code and CPI Corp patented technology. Neon AI makes the Patient Assistant application to enable patients to alert their caregivers to emergencies and other needs, and to get simple information. As your automated patient assistant I listen for calls for help and send alerts to the patient care administrator. For example, you can say help, or I fell. Another thing you can say is what time is it .. </speak> In the future you will be able to play your favorite music, turn the lights on or off, and even ask to send a text message .. And if you don't want to call me Pat, someday you will be able to change my name."

# Customize

@PromptCustomize

## Offer customization of settings for administrator, voice and system settings
## Set up PA voice: name, gender, accent, pitch, speed, [Later: language, diction, empathy]
## Set up system settings: timeoutSeconds (wait time for user input)
## Set up administrator (password, email, name, phone, [Later: staff names, secondary contacts] ..)
## Set up nurse (password, email, name, phone, [Later: staff names, secondary contacts] ..)

customLanguage = ""
enableNeonApps = {True}

Name Speak : Pat : "Would you like to customize the Patient Assistant settings to disable non-emergency Neon AI patient applications, or to change my voice?"
# Name Speak : Pat : "Would you like to customize the Patient Assistant settings for administrator, voice and PAT system settings?"

timeoutReturnLabel = PromptCustomize
voice_input{customizeSettings}
if {customizeSettings} !IN {yesList[*]}:
Goto: BeginAssistant

Name Speak : Pat : "Hi {userName}. You can customize the voice for the Neon demonstration conversational patient assistant. You can say no change, or say female, male, normal, fast, slow, American, British or Australian. </speak> In the future you will be able to set up information for the administrator, staff members and the patient, and change my name and other PAT system settings."

@ReAskCustomize

# Name Speak : Pat : "Would you like to change the voice of the Neon conversational patient assistance application?"

timeoutReturnLabel = ReAskCustomize
voice_input{customizeSettings}
if {customizeSettings} == "":
Goto: PromptCustomize
if {customizeSettings} CONTAINS "no change":
Goto: BeginAssistant
if {customizeSettings} IN {noList[*]}:
Goto: BeginAssistant

# Variable: britWords = british, gb, uk
if {customizeSettings} CONTAINS british, gb, uk:
customLanguage = "'en-GB'"
else
if {customizeSettings} CONTAINS "Australian, AU, aussie":
customLanguage = "en-AU"
else
customLanguage = "en-us"

if {customizeSettings} CONTAINS "female":
customLanguage = “{customLanguage} female"
else
customLanguage = “{customLanguage} male"

Language: {customLanguage}

if {customizeSettings} CONTAINS "fast":
customProsody = "rate='fast'"
else
if {customizeSettings} CONTAINS "slow":
customProsody = "rate='slow'"
else
customProsody = "rate='medium'"

# Later: Provide example of new Language/Prosody and offer reset

# Later: Make settings into a case statement and error check:
# split_words(wordList, customizeSettings)
# customSettingCount = length({wordList})
# wordListIndex = 0
# LOOP
# Case
# LOOP END

@ReAskApps

Name Speak : Pat : "Would you like to enable more Neon patient assistance applications including playing music, playing games, reminders for medicine, hydration, meals and sleep, requests to record symptoms or other stats, and to request general information or assistance with math?"

timeoutReturnLabel = ReAskApps
voice_input{customizeSettings}
if {customizeSettings} == "":
Goto: ReAskApps

if {customizeSettings} IN {noList[*]}:
enableNeonApps = {False}
Goto: BeginAssistant

@BeginAssistant

timeoutReturnLabel = WaitForAlertPhrase
Name Speak : Pat : "<prosody {customProsody}> Your demonstration patient assistant has signed in. If you want to know if I am listening, you can say, hey Pat, or, Pat are you there. </prosody>"

# Wait for alert

@WaitForAlertPhrase

askPrompt = ""
returnLabel = GotPatientPhrase
### Name Speak : Pat : "PA 1 pre ask"
Goto : ASK

@GotPatientPhrase

## Did patient ask for "help"
if {askReturnValue} !IN {alertsPhraseList[*]}:
## Not an emergency alert, check for secondary (in progress)
if {enableNeonApps}:
## if {askReturnValue} CONTAINS {inProgressList[*]}:
if {askReturnValue} STARTSWITH {inProgressList[*]}:
Name Speak : Pat : "I'm sorry {userName} that is under construction."
## Not an alert, listen again
Goto: WaitForAlertPhrase

# Possible EMERGENCY

Name Speak : Pat : "Pat the Patient Assistant heard an emergency alert. I heard {askReturnValue}"
Reconvey : askReturnValue
Name Speak : Pat : "</speak>PA 6 did reconvey"

@PromptConfirmHelp

askPrompt = "Please say just kidding if this is not an emergency"
returnLabel = ConfirmHelp
Goto : ASK
@ConfirmHelp

## Did patient REALLY ask for "help"?
if {askReturnValue} == "":
Name Speak : Pat : "Pat the Patient Assistant heard nothing. I heard"
Reconvey : askReturnValue
Name Speak : Pat : "</speak>PA 8 did reconvey of nothing heard"

## PA heard nothing after emergency request .. if second time then this is an emergency
if {heardSilence} == {True} :
Goto: Emergency
heardSilence = {True}
## Increase volume and speak slowly
Name Speak : Pat : "<prosody volume='+100%' rate='slow'>{userName}! I need to hear from you! Is this an emergency?</prosody>"
Goto: PromptConfirmHelp
if {askReturnValue} CONTAINS "just kidding", "never mind","not an emergency":
Name Speak : Pat : "Pat the Patient Assistant heard you say this is not an emergency. I heard"
Reconvey : askReturnValue
### Name Speak : Pat : "</speak>Did reconvey of jk"

## Patient said jk so restart listening
Name Speak : Pat : "Please say help again if this is an emergency."
Python: falseAlarmCount = {falseAlarmCount} + 1
Goto: WaitForAlertPhrase

# EMERGENCY

@Emergency

Name Speak : Pat : "<prosody volume='+100%' rate='normal'>{userName}! Needs! Help! This is an EMERGENCY</prosody>"

Name Speak : Pat : "Pat the Patient Assistant would now send an emergency alert, sound an alarm, keep engaged with the patient, and send updated alerts to the caregiver."

Name Speak : Pat : "Pat test completed. Say start again to start again?"
voice_input{askReturnValue}
if {askReturnValue} == "start again":
Name Speak : Pat : "</speak>Pat is restarting. Thanks again."
Goto: StartUp

Name Speak : Pat : "Pat exiting. Thanks again for helping test my skills."
exit

# ========== Subroutines

@ASK
# The ASK subroutine speaks the askPrompt and waits for a response. If the response is a command to Pat to perform an action, then the request is effected and Pat continues waiting for a response, otherwise, the response is returned to the caller in the askReturnValue.
# Input parameters: askPrompt, returnLabel and timeOutReturnLabel
# Result parameter: askReturnValue

### Name Speak : Pat : "Ask 1 Starting"
if {askPrompt}:
Name Speak : Pat : " {askPrompt} "
### Name Speak : Pat : "Ask 2 Starting ask subroutine"
voice_input {askReturnValue}
### Name Speak : Pat : "Ask 3 got input"
if {askReturnValue} IN {exitList[*]}:
Name Speak : Pat : "Say yes to confirm exiting Pat, the Neon AI Patient Assistant"
voice_input{askReturnValue}
if {askReturnValue} IN {yesList[*]}:
Name Speak : Pat : "Pat, the Neon AI Patient Assistant, signing off"
exit
else
goto: ASK
### Name Speak : Pat : "Ask 4 not cancel command {askReturnValue}"
if {askReturnValue} IN {heyPatList[*]}:
Name Speak : Pat : "<prosody {customProsody}> {userName}, Pat the AI Patient Assistant demo here. I'm listening all the time but I don't <phoneme alphabet=”x-sampa” ph=”rikord”>record</phoneme> everything you say. I only make recordings of calls for help or in an emergency. </prosody>"
# Note - Disambiguation for the pronunciations of "record": <phoneme alphabet=”x-sampa” ph=”rikord”>record</phoneme> Verb as in “I record everything you say” vs. Noun as in "Make a record of the conversation".
Name Speak : Pat : "The time is"
Execute : "Neon what time is it"
if {falseAlarmCount} != 0:
Name Speak : Pat : "The false alarm count is {falseAlarmCount}!"
goto : ASK
### Name Speak : Pat : "Ask 5 About to return to {returnLabel}"
Goto: {returnLabel}


@TIMEOUT
Goto: {timeoutReturnLabel}
Richard richard@neon.ai
44 Star/flag Script Upload: Submission #44 Lock Script Upload: Submission #44 Add notes to Script Upload: Submission #44 Tue, 11/19/2019 - 14:00 Anonymous 73.109.151.117 Hello World Input Hello World Input Script: "Hello World Input"
Variable: {input}: ""
Neon speak: "Hello World. Say anything or exit"
voice_input{input}
Neon speak: "you said {input}"
Exit
Daniel daniel@neongecko.com
74 Star/flag Script Upload: Submission #74 Lock Script Upload: Submission #74 Add notes to Script Upload: Submission #74 Wed, 01/22/2020 - 14:11 imedqo 73.109.151.117 Neongecko Intro A small demonstration of Neon Script: "Neongecko Intro"
Variable: {name}: ""
Variable: {more}: ""
Neon Speak: "Welcome to the Neongecko Intro, My name is Neon."
Neon Speak: "What is your name?"
voice_input{name}
Neon Speak: "hi {name}"
Neon Speak: "Welcome to Neongecko.com."
Neon Speak: "Exiting the Neon Welcome Script. If your microphone and speakers are enabled you can ask me for time, weather, play music, show videos, caffeine contents, etcetera"
EXIT
josh josh@neongecko.com
57 Star/flag Script Upload: Submission #57 Lock Script Upload: Submission #57 Add notes to Script Upload: Submission #57 Tue, 11/19/2019 - 19:03 Anonymous 73.109.151.117 User Register Demo user register demo Script: "User Register Demo"
Variable: {full_name}: ""
Variable: {first_name}: ""
Variable: {last_name}: ""
Variable: {selection}: ""
Neon speak:
"Hello human. My full name is Neon Gecko Inc. Please call me Neon. Lets get started."
LOOP get_name
Neon speak: "Please tell me your full name or say exit"
voice_input{full_name}
Execute: "neon my name is {full_name}"
Neon speak: "Thank you."
Python: time.sleep(5)
Execute: "neon tell me my first name"
Execute: "neon tell me my last name"
LOOP change_name
Neon speak: "Is that correct? Say yes, no, change first name, change last name or exit"
voice_input{selection}
Case: {selection}
"yes"
Neon speak: "Okay"
Execute: "exit"
"no"
Neon speak: "Sorry. Please say name to try again"
LOOP get_name END
"change first name"
Neon speak: "Tell me your first name or say exit"
voice_input{first_name}
Execute: "neon my first name is {first_name}"
Execute: "neon tell me my first name"
LOOP change_name END
"change last name"
Neon speak: "Tell me your last name or say exit"
voice_input{last_name}
Execute: "neon my last name is {last_name}"
Execute: "neon tell me my last name"
LOOP change_name END
Exit
Daniel dainel@neongecko.com
59 Star/flag Script Upload: Submission #59 Lock Script Upload: Submission #59 Add notes to Script Upload: Submission #59 Wed, 11/20/2019 - 18:49 imedqo 73.109.151.117 Mycroft Navigator Navigates the mycroft.ai website Script: "Mycroft Navigator"
# Language: "en-us female"
Variable: {options}: table_scrape(https://mycroft.ai)
Variable: {chosen}: ""
Variable: {termination_bool}: done
Neon speak: "Please tell me what Mycroft web page you'd like to see. You can say things like random{options}"
LOOP WN
voice_input{chosen}
# Neon speak: "navigating to {chosen}"
if closest{chosen,options}:
Execute: "neon browse to closest{chosen,options}"
else:
Neon speak: "Page not found"
Neon speak: "What Mycroft web page would you like to see next?"
LOOP WN END
Exit
Guy Daniels guy@neongecko.com guy daniels
47 Star/flag Script Upload: Submission #47 Lock Script Upload: Submission #47 Add notes to Script Upload: Submission #47 Tue, 11/19/2019 - 14:03 Anonymous 73.109.151.117 Weather Loop Demo Weather Loop Demo Script: "Demo Weather Loop"
Variable: {location}: ""
Variable: {forecast}: ""
LOOP WW
Neon speak:
"Say A or Athens for the weather in Athens"
"Say B or Bombay for the weather in Bombay"
"Say S or Seattle for the weather in Seattle"
"Say exit to exit"
voice_input{location}
Case {location}:
"A or Athens"
Execute: "What is the weather in Athens"
Neon speak: "about to repeat A"
"B or Bombay"
Execute: "What is the weather in Bombay"
Neon speak:
"say 10 day or 5 day forecast"
voice_input{forecast}
Case {forecast}:
"10 day or 10"
Execute: "What is the 10 day forecast for Bombay"
"5 day or 5"
Execute: "What is the 5 day forecast for Bombay"
Neon speak: "about to repeat B"
"S or Seattle"
Execute: "What is the weather in Seattle"
Neon speak: "about to repeat S"
Neon speak:
"End of loop WW."
LOOP WW END
Neon speak: "I'm done now."
Exit

Daniel daniel@neongecko.com
76 Star/flag Script Upload: Submission #76 Lock Script Upload: Submission #76 Add notes to Script Upload: Submission #76 Wed, 01/22/2020 - 15:15 imedqo 73.109.151.117 Eddie A skill file for Eddie, who is good at searching for music and movies. Script: "Eddie"
Variable: {name}: ""
Variable: {more}: ""
Language: "en-gb male"
Name Speak : Eddie : "Welcome to the Neongecko Intro, My name is Eddie."
Name Speak : Eddie : "What is your name?"
voice_input{name}
Name Speak : Eddie : "hi {name}"
Name Speak : Eddie : " I am good at searching for your favorite music and videos”
Name Speak : Eddie : "You can ask me to play songs, albums, artists, shows, movies, and more."
Name Speak : Eddie : "If your microphone and speakers are enabled you can ask me questions out loud, and hear my answers. Otherwise you can type your questions in the box, after this start up exits."
EXIT
josh josh@neongecko.com
67 Star/flag Script Upload: Submission #67 Lock Script Upload: Submission #67 Add notes to Script Upload: Submission #67 Wed, 12/04/2019 - 15:28 Anonymous 73.109.151.117 Weather Time Population Goto WTP script with added Goto examples to go to line and go to label Script: "Weather Time Population Goto"
Language: "en-au female"
Synonym: "Demo WTP Goto"
Variable: {response}: ""
Neon speak:
"Say 1 or World Times for world times"
"Say 2 or World Weather for world weather"
"Say 3 or World Populations for world populations"
voice_input{response}
Case {response}:
"1 or World Times"
Neon speak:
"Say A or Athens for Athens's time"
"Say B or Bombay for Bombay's time"
"Say S or Seattle for Seattle's time"
voice_input{response}
Case {response}:
"A or Athens"
Execute: "What time is it in Athens"
Goto: athens_weather
"B or Bombay"
Execute: "What time is it in Bombay"
"S or Seattle"
Execute: "What time is it in Seattle"
"2 or World Weather"
Neon speak:
"Say A or Athens for the weather in Athens"
"Say B or Bombay for the weather in Bombay"
"Say S or Seattle for the weather in Seattle"
voice_input{response}
Case {response}:
"A or Athens"
@athens_weather
Execute: "What is the weather in Athens"
Goto: 50
"B or Bombay"
Execute: "What is the weather in Bombay"
"S or Seattle"
Execute: "What is the weather in Seattle"
"3 or World Populations"
Neon speak:
"Say A or Athens for Athens's population"
"Say B or Bombay for Bombay's population"
"Say S or Seattle for Seattle's population"
voice_input{response}
Case {response}:
"A or Athens"
Execute: "What is the population of Athens"
"B or Bombay"
Execute: "What is the population of Bombay"
"S or Seattle"
Execute: "What is the population of Seattle"
Exit
Daniel daniel@neongecko.com
65 Star/flag Script Upload: Submission #65 Lock Script Upload: Submission #65 Add notes to Script Upload: Submission #65 Tue, 12/03/2019 - 12:30 imedqo 73.109.151.117 Welcome Loops Demo demo welcome loops skill file Script: "Welcome Loops Demo"
Variable: {name}: ""
Variable: {like}: ""
Variable: {location}: ""
Variable: {question}: ""
Neon Speak: "Hello, My name is Neon."
Neon Speak: "What is your name?"
voice_input{name}
Neon Speak: "Nice to meet you {name}"
Neon Speak: "tell me a brand you like, for example, I like neon"
voice_input{like}
Execute: "tell me my coupons"
Neon Speak: "Where are you"
voice_input{location}
Execute: "tell me the time in {location}"
Execute: "tell me the weather in {location}"
LOOP Q1
Neon Speak: "Please ask me a question or say exit"
if {question} == "exit"
Exit
voice_input{question}
#Execute: "{question}"
LOOP Q1 END
Exit
Josh josh@neongecko.com
49 Star/flag Script Upload: Submission #49 Lock Script Upload: Submission #49 Add notes to Script Upload: Submission #49 Tue, 11/19/2019 - 14:05 Anonymous 73.109.151.117 Neon AI Android Startup Script: "Neon AI Android Startup"
Language: "English American Female"
Variable: {startup_skill}: ""
Neon speak: "Welcome to Neon AI Scripts. Please choose a script to run when you open the app."
Execute: "tell me my scripts"
Neon speak: "Which one would you like?"
voice_input{startup_skill}
Execute: "set my startup script to {startup_skill}"
Exit
Daniel daniel@neongecko.com
78 Star/flag Script Upload: Submission #78 Lock Script Upload: Submission #78 Add notes to Script Upload: Submission #78 Wed, 01/22/2020 - 15:27 imedqo 73.109.151.117 Cate A demo of Cate who is a caffeine wiz. Script: "Cate"
Variable: {name}: ""
Variable: {more}: ""
Language: "en-in female"
Name Speak : Cate : "Welcome to the Neongecko Intro, My name is Cate."
Name Speak : Cate : "What is your name?"
voice_input{name}
Name Speak : Cate : "hi {name}"
Name Speak : Cate : " I am a caffeine wiz! You can ask me the caffeine content of most popular USA drinks and boosters”
Name Speak : Cate : "If your microphone and speakers are enabled you can ask me questions out loud, and hear my answers. Otherwise you can type your questions in the box, after this start up exits."
EXIT
josh josh@neongecko.com
69 Star/flag Script Upload: Submission #69 Lock Script Upload: Submission #69 Add notes to Script Upload: Submission #69 Tue, 12/10/2019 - 11:05 imedqo 73.109.151.117 Grocery Greeter A simple Grocery store greeter skill Script: "Grocery Greeter"
Variable: {init}: ""
Variable: {name}: ""
Variable: {more}: ""
# Variable: {}: ""
Neon Speak: "Starting the Grocery Greeter. Waiting for activation"
voice_input{init}
Neon Speak: "Welcome to the Neon Gecko Grocery Store."
# Neon Speak: "Welcome to the Neon Gecko Grocery Store Greeter. My name is Neon."
# Neon Speak: "What is your name?"
# voice_input{name}
# Neon Speak: "hi {name}"
Neon Speak: "What can I help you find?"
LOOP Q1
Neon Speak: “For example say produce for fresh vegetables, nuts, and fruit, or more for more options"
voice_input{more}
Neon Speak: {more}
IF "more" IN {more}:
Neon Speak: "more IN {more}"
Goto: say_options
IF "done" == {more}:
Neon Speak: "done == {more}"
Goto: say_goodbye
IF "more" == {more}:
Neon Speak: "more == {more}"
Goto: say_options
IF "Meat" IN {more}:
Neon Speak: "Meat can be found in Aisle 7, towards the back of the store"
IF "Dairy" IN {more}:
Neon Speak: "Dairy can be found in Aisle 1, towards the front of the store"
IF "Produce" IN {more}:
Neon Speak: "Produce can be found in Aisle 3, near the bakery"
IF "Frozen" IN {more}:
Neon Speak: "Frozen Foods can be found in Aisle 5, in the middle of the store"
IF "Bakery" IN {more}:
Neon Speak: "The bakery can be found in Aisle 2, towards the front of the store"
IF "Deli" IN {more}:
Neon Speak: "Deli items can be found in Aisle 8, towards the back of the store, near the Meat Department"
IF "Medicine" IN {more}:
Neon Speak: "Medicine can be found in Aisle 4, towards the middle of the store"
@say_options
Neon Speak: “Still need assistance? Say meat, or dairy, or cleaning"
# Neon Speak: “You can also say specific items, like apples, or steak"
# Neon Speak: “You can say produce, frozen, bakery, deli, or more"
# Neon Speak: “Say done to exit at any time"
LOOP Q1 END
@say_goodbye
Neon Speak: "Goodbye"
Exit
josh josh@neongecko.com
53 Star/flag Script Upload: Submission #53 Lock Script Upload: Submission #53 Add notes to Script Upload: Submission #53 Tue, 11/19/2019 - 15:46 Anonymous 73.109.151.117 Convert Demo Demo script that converts units of measure. Script: "Convert Demo"
Language: "en-us female"
Variable: {quantity}: ""
Variable: {from_units}: ""
Variable: {to_units}: ""
Variable: {selected}: ""
Variable: {conversions}: weight, volume, length, time, currency
Neon speak: "Say convert select_one{conversions} to convert or exit when done"
voice_input{selected,conversions}
Neon speak: "How many units would you like to convert?"
voice_input{quantity}
Neon speak: "What are the units to convert from?"
voice_input{from_units}
Neon speak: "What are the units to convert to?"
voice_input{to_units}
Execute: "how many {to_units} are in {quantity} {from_units}"
Exit
Daniel McKnight daniel@neongecko.com
80 Star/flag Script Upload: Submission #80 Lock Script Upload: Submission #80 Add notes to Script Upload: Submission #80 Mon, 02/03/2020 - 18:00 imedqo 73.109.151.117 Test Eliza Name speak Eliza test Script: Test Eliza
Language: "en-GB female"

Variable: input = ""
Variable: split_input

# Static Strings
Variable: initial = It's nice to meet you. How are you today?
Variable: final = Goodbye. Thank you for talking to me.
Variable: quit = bye, goodbye, quit

# Substitutions
Variable: input_sub = dont don't,
cant can't,
wont won't,
recollect remember,
dreamt dreamed,
dreams dream,
maybe perhaps,
when what,
certainly yes,
machine computer,
computers computer,
were was,
"you're" "you are",
"i'm" "i am",
same alike

# Synonyms
Variable: belief = belief, feel, think, believe, wish
Variable: family = family, mother, mom, father, dad, sister, brother, wife, children, child
Variable: desire = desire, want, need, wish
Variable: sad = sad, unhappy, depressed, sick
Variable: happy = happy, elated, glad, better
Variable: cannot = cannot, can't
Variable: everyone = everyone, everybody, nobody, noone
Variable: people = people, they, others, adults, children, teenagers
Variable: be = be, am, is, are, was
Variable: sorry = sorry, i apologize
Variable: language = deutsch, francais, italiano, espanol

# Input to response matching
Variable: key_sub = "{sorry_0} [sorry] for {Vsorry}" "Please don't apologize about {Vsorry}" "No need to apologize about {Vsorry[*]}" "I've told you that apologies are not required." "Vsorry's are {Vsorry[*]}",
"i remember {Viremember}" "Do you often think of {Viremember}?" "Does thinking of {Viremember} bring anything else to mind?" "What else do you recollect?" "Why do you recollect {Viremember} just now?" "What in the present situation reminds you of {Viremember}?" "Viremember's are {Viremember[*]}",
"do you remember {Vyouremember}" "Did you think I would forget {Vyouremember}?" "Why do you think I should recall {Vyouremember} now?" "What about {Vyouremember}? "You mentioned {Vyouremember}?" "Vyouremember's are {Vyouremember[*]}",
"if {Vif}" "Do you think its likely that {Vif}?" "Do you wish that {Vif}?" "What do you know about {Vif}?" "Really, if {Vif}?" "Vif's are {Vif[*]}",
"{Vdreamed} dreamed {Vdreamed2}" "Really, {Vdreamed2}?" "Have you ever fantasized {Vdreamed2} while you were awake?" "Have you ever dreamed {Vdreamed2} before?" "Vdreamed2's are {Vdreamed2[*]}",
"dream" "What does that dream suggest to you?" "Do you dream often?" "What persons appear in your dreams? "Do you believe that dreams have something to do with your problems?",
"perhaps" "You don't seem quite certain." "Why the uncertain tone?" "Can't you be more positive?" "You aren't sure?" "Don't you know?",
"name" "I am not interested in names." "I've told you before, I don't care about names -- please continue.",
"{Vlanguage}[language]{Vlanguage2}" "I speak only English" "I do not speak {[language]}",
"hello" "How do you do. Please state your problem." "Hi. What seems to be your problem?",
"how are you" "We were discussing you -- not me.",
"are you {Vareyou}" "Why are you interested in whether I am {Vareyou} or not?" "Would you prefer if I weren't {Vareyou}?" "Perhaps I am {Vareyou} in your fantasies." "Do you sometimes think I am {Vareyou}?" "Vareyou's are {Vareyou[*]}",
"computer" "Do computers worry you?" "Why do you mention computers?" "What do you think machines have to do with your problem?" "Don't you think computers can help people?" "What about machines worries you?" "What do you think about machines?",
"am i {Vami}" "Do you believe you are {Vami}?" "Would you want to be {Vami}?" "Do you wish I would tell you you are {Vami}?" "What would it mean if you were {Vami}?" "Vami's are {Vami[*]}",
"[people] are {Vpeople}" "Did you think they might not be {Vpeople}?" "Would you like it if they were not {Vpeople}?" "What if they were not {Vpeople}?" "Possibly they are {Vpeople}." "Vpeople's are {Vpeople[*]}",
"was i {Vwasi}" "What if you were {Vwasi}?" "Do you think you were {Vwasi}?" "Were you {Vwasi}?" "What would it mean if you were {Vwasi}?" "What does {Vwasi} suggest to you ?" "Vwasi's are {Vwasi[*]}",
"i was {Viwas}" "Were you really?" "Why do you tell me you were {Viwas} now?" "Perhaps I already know you were {Viwas}." "Viwas's are {Viwas[*]}",
"was you {Vwereyou}" "Would you like to believe I was {Vwereyou}?" "What suggests that I was {Vwereyou}?" "What do you think?" "Perhaps I was {Vwereyou}." "What if I had been {Vwereyou}?" "Vwereyou's are {Vwereyou[*]}",
"i am {Vsad} [sad]" "I am sorry to hear that you are {[sad]}." "Do you think that coming here will help you not to be {[sad]}?" "I'm sure it's not pleasant to be {[sad]}." "Can you explain what made you {[sad]}?",
"i am {Vhappy} [happy]" "How have I helped you to be {[happy]}?" "Has your treatment made you {[happy]}?" "What makes you {[happy]} just now?" "Can you explain why you are suddenly {[happy]}?",
"i [belief] {Vbelief1} i {Vbelief2}" "Do you really think so?" "But you are not sure you {Vbelief2}." "Do you really doubt you {Vbelief2}?" "Vbelief2's are {Vbelief2[*]}",
"i am {Viam}" "Is it because you are {Viam} that you came to me?" "How long have you been {Viam}?" "Do you believe it is normal to be {Viam}?" "Do you enjoy being {Viam}?" "Viam's are {Viam[*]}",
"i [cannot] {Vicannot}" "Why do you think that you can't {Vicannot}?" "Have you tried?" "Perhaps you could {Vicannot} now." "Do you really want to be able to {Vicannot}?" "Vicannot's are {Vicannot[*]}",
"i don't {Vidont}" "Don't you really {Vidont}?" "Why don't you {Vidont}?" "Do you wish to be able to {Vidont}?" "Does that trouble you?" "Vidont's are {Vidont[*]}",
"do i feel {Vdoifeel}" "Tell me more about such feelings." "Do you often feel {Vdoifeel}?" "Do you enjoy feeling {Vdoifeel}?" "Of what does feeling {Vdoifeel} remind you?" "Vdoifeel's are {Vdoifeel[*]}",
"i {Viyou} you" "Perhaps in your fantasies we {Viyou} each other." "Do you wish to {Viyou} me?" "You seem to need to {Viyou} me." "Do you {Viyou} anyone else?" "Viyou's are {Viyou[*]}",
"you are {Vyouare}" "What makes you think I am {Vyouare}?" "Does it please you to believe I am {Vyouare}?" "Do you sometimes wish you were {Vyouare}?" "Perhaps you would like to be {Vyouare}." "Vyouare's are {Vyouare[*]}",
"you {Vyoume} me" "Why do you think I {Vyoume} you?" "You like to think I {Vyoume} you, don't you ?" "What makes you think I {Vyoume} you?" "Really, I {Vyoume} you?" "Do you wish to believe I {Vyoume} you?" "Suppose I did {Vyoume} you -- what would that mean?" "Does someone else believe I {Vyoume} you?" "Vyoume's are {Vyoume[*]}",
"yes" "You seem to be quite positive." "You are sure." "I see." "I understand.",
"no" "Are you saying no just to be negative?" "You are being a bit negative." "Why not?" "Why 'no'?",
"my {Vmyfamily1} [family] {Vmyfamily2}" "Tell me more about your {[family]}." "Who else in your family {Vmyfamily2}?" "Your {[family]}?" "What else comes to mind when you think of your {[family]}?" "Vmyfamily2's are {Vmyfamily2[*]}",
"i [desire] {Vdesire}" "What would it mean to you if you got {Vdesire}?" "Why do you want {Vdesire}?" "Suppose you got {Vdesire} soon?" "What if you never got {Vdesire}?" "What would getting {Vdesire} mean to you?" "What does wanting {Vdesire} have to do with this discussion?" "Vdesire's are {Vdesire[*]}",
"what" "Why do you ask?" "Does that question interest you?" "What is it you really wanted to know?" "Are such questions much on your mind?" "What answer would please you most?" "What do you think?" "What comes to mind when you ask that?" "Have you asked such questions before?" "Have you asked anyone else?",
"because" "Is that the real reason?" "Don't any other reasons come to mind?" "Does that reason seem to explain anything else?" "What other reasons might there be?",
"why don't you {Vwhydontyou}" "Do you believe I don't {Vwhydontyou}?" "Perhaps I will {Vwhydontyou} in good time." "Should you {Vwhydontyou} yourself?" "You want me to {Vwhydontyou}?" "Vwhydontyou's are {Vwhydontyou[*]}",
"why can't i {Vwhycanti}" "Do you think you should be able to {Vwhycanti}?" "Do you want to be able to {Vwhycanti}?" "Do you believe this will help you to {Vwhycanti}?" "Have you any idea why you can't {Vwhycanti}?" "Vwhycanti's are {Vwhycanti[*]}",
"why" "Why do you ask?" "Does that question interest you?" "What is it you really wanted to know?" "Are such questions much on your mind?" "What answer would please you most?" "What do you think?" "What comes to mind when you ask that?" "Have you asked such questions before?" "Have you asked anyone else?",
"[everyone] {Veveryone}" "Really, {[everyone]}?" "Surely not {[everyone]} {Veveryone}." "Can you think of anyone in particular ?" "Who, for example?" "Are you thinking of a very special person?" "Who, may I ask?" "Someone special perhaps?" "You have a particular person in mind, don't you?" "Who do you think you're talking about?" "Veveryone's are {Veveryone[*]}",
"always" "Can you think of a specific example?" "When?" "What incident are you thinking of?" "Really, always?",
"alike" "In what way?" "What resemblance do you see?" "What does that similarity suggest to you?" "What other connections do you see?" "What do you suppose that resemblance means?" "What is the connection, do you suppose?" "Could here really be some connection?" "How?",
"[be] like" "In what way?" "What resemblance do you see?" "What does that similarity suggest to you?" "What other connections do you see?" "What do you suppose that resemblance means?" "What is the connection, do you suppose?" "Could here really be some connection?" "How?",
"can you {Vcanyou}" "You believe I can {Vcanyou} don't you?" "You want me to be able to {Vcanyou}." "Perhaps you would like to be able to {Vcanyou} yourself." "Vcanyou's are {Vcanyou[*]}",
"can i {Vcani}" "Whether or not you can {Vcani} depends on you more than me." "Do you want to be able to {Vcani}?" "Perhaps you don't want to {Vcani}." "Vcani's are {Vcani[*]}",
"your {Vyour}" "Why are you concerned over my {Vyour}?" "What about your own {Vyour}?" "Are you worried about someone else's {Vyour}?" "Really, my {Vyour}?" "Vyour's are {Vyour[*]}",
"my {Vmy}" "Your {Vmy}?" "Why do you say your {Vmy}?" "Does that suggest anything else which belongs to you?" "Is it important that your {Vmy}?" "Vmy's are {Vmy[*]}",
"you {Vyou}" "We are discussing you -- not me." "Oh. I {Vyou}?" "You're not really talking about me -- are you?" "What are your feelings now?" "Vyou's are {Vyou[*]}",
"i {Vi}" "You say {Vi}?" "Can you elaborate on that?" "Do you say {Vi} for some special reason?" "That's quite interesting." "Vi's are {Vi[*]}",
"thank you" "you are welcome" "don't mention it" "no problem",
"[quit]" "{final}",
"{Vx}" "I'm not sure I understand you fully." "Please go on." " What do you mean by {Vx}?" "Do you feel strongly about discussing such things?" "Vx's are {Vx[*]}"

Name speak: Eliza: {initial}

LOOP pre
voice_input {input}
Set: user_speech = {input}
sub_values{input, input_sub}
sub_key{input, key_sub}

Name speak: Eliza: {input}
if {user_speech} in {quit}:
Exit
LOOP pre END

Neon speak: {final}
Exit
Daniel McKnight daniel@neongecko.com
43 Star/flag Script Upload: Submission #43 Lock Script Upload: Submission #43 Add notes to Script Upload: Submission #43 Tue, 11/19/2019 - 14:00 Anonymous 73.109.151.117 Good Morning short good morning script Script: "Good Morning"
Neon speak: "Good Morning"
"The time is"
Execute: "What time is it"
Neon speak: "The weather is"
Execute: "what is the weather"
Neon speak: "Thank you for starting me up. I look forward to talking with you"
Exit
Daniel daniel@neongecko.com
73 Star/flag Script Upload: Submission #73 Lock Script Upload: Submission #73 Add notes to Script Upload: Submission #73 Fri, 01/03/2020 - 18:13 imedqo 73.109.151.117 Apple Navigator Navigate the apple.com website with voice Script: "Apple Navigator"
Variable: {options}: table_scrape(https://apple.com)
Variable: {chosen}: ""
Neon speak: "Please tell me what apple.com web page you'd like to see. You can say things like random{options} or say quit or exit."
LOOP WN
....voice_input{chosen}
....# Neon speak: "navigating to {chosen}"
....if {chosen} == "quit":
........Neon speak: "say pause to turn off the mic or say exit to close the window."
........voice_input{chosen}
........if {chosen} == "pause":
............# execute skill to turn off mic
............Execute: "neon mute microphone"
....else:
........if closest{chosen,options}:
............Execute: "neon browse to closest{chosen,options}"
........else:
............Neon speak: "Page not found"
........Neon speak: "Tell me another Apple web page you'd like to see or say quit."
LOOP WN END
Exit
Daniel McKnight daniel@neongecko.com
55 Star/flag Script Upload: Submission #55 Lock Script Upload: Submission #55 Add notes to Script Upload: Submission #55 Tue, 11/19/2019 - 18:29 Anonymous 73.109.151.117 WTP Demo Demo script with examples of nested cases and voice_input. Script: "WTP Demo"
Language: "en-au female"
Synonym: "Demo WTP"
Synonym: "WTP Demo"
Variable: {response}: ""
Neon speak:
"Say 1 or World Times for world times"
"Say 2 or World Weather for world weather"
"Say 3 or World Populations for world populations"
voice_input{response}
Case {response}:
"1 or World Times"
Neon speak:
"Say A or Athens for Athens's time"
"Say B or Bombay for Bombay's time"
"Say S or Seattle for Seattle's time"
voice_input{response}
Case {response}:
"A or Athens"
Execute: "What time is it in Athens"
"B or Bombay"
Execute: "What time is it in Bombay"
"S or Seattle"
Execute: "What time is it in Seattle"
"2 or World Weather"
Neon speak:
"Say A or Athens for the weather in Athens"
"Say B or Bombay for the weather in Bombay"
"Say S or Seattle for the weather in Seattle"
voice_input{response}
Case {response}:
"A or Athens"
Execute: "What is the weather in Athens"
"B or Bombay"
Execute: "What is the weather in Bombay"
"S or Seattle"
Execute: "What is the weather in Seattle"
"3 or World Populations"
Neon speak:
"Say A or Athens for Athens's population"
"Say B or Bombay for Bombay's population"
"Say S or Seattle for Seattle's population"
voice_input{response}
Case {response}:
"A or Athens"
Execute: "What is the population of Athens"
"B or Bombay"
Execute: "What is the population of Bombay"
"S or Seattle"
Execute: "What is the population of Seattle"
Exit
Daniel daniel@neongecko.com
83 Star/flag Script Upload: Submission #83 Lock Script Upload: Submission #83 Add notes to Script Upload: Submission #83 Tue, 03/17/2020 - 13:09 imedqo 73.109.151.117 xyz xyz script Script: "xyz"
Neon speak: "Hello"
Neon speak: "Thank you for running the xyz script. Would you like to hear a joke"
Execute: "tell me a joke"
Neon speak: "Here is the current time"
Execute: "what is the time"
Exit
josh josh@neongecko.com