Monday, March 19, 2012

Truth & Beauty Lab Answer Board

The latest creation from the Truth & Beauty Lab, the Answer Board, was released yesterday 18-March-2012. The Answer Board is a Pandorabot based rotating sign that provides answers to just about any question or topic one can think of. The board responds to local chat and provides its answers from, first, Wikipedia if it finds a matching article then Wolfram Alpha if no Wikipedia article is found then AI chat from pandorabots.com if no Wolfram Alpha answer is found.

The Answer Board is preconfigured and requires no setup other than rezzing, positioning, and resizing if desired. It uses a shared Wolfram Alpha Application ID which gives the board access to Wolfram Alpha but on a shared basis with a limit of 2000 queries per month. Therefore, it is recommended that the owner of an Answer Board register for their own Wolfram Alpha Application ID at http://products.wolframalpha.com/api/

Although ready to use out-of-the-box, the Answer Board can be extensively customized. A detailed Owners Manual is provided and available in PDF, Office, and OpenOffice formats. Non-owner users who touch the Answer Board receive a User Guide which is also available in PDF, Office, and OpenOffice formats.

The Answer Board can provide information on just about any topic due to the wealth of information available via the combined resources of Wikipedia and Wolfram Alpha. Based on the recently released Pandorabot V7 technology, the Answer Board can automatically detect the user's language and query that language Wikipedia. Language detection is provided for Nihongo, Russkiy, Nederlands, Português, Polski, Italiano, Español, Français, Deutsch or English. It is the smartest scripted agent in Second Life.

In addition, the Answer Board can be enabled as a Greeter to detect and greet new arrivals, deliver notecards and landmarks, and emit a wide variety of particle displays. There is an extensive command set available to the owner and an easy to use dialog menu. The Answer Board is available for L$395 on the Second Life Marketplace at https://marketplace.secondlife.com/p/Truth-Beauty-Lab-Answer-Board/3304679

Here's what the Answer Board looks like:

Monday, February 27, 2012

New Truth & Beauty Lab Products 2/2012

The Truth & Beauty Lab (formerly Restless Studio) would like to inform you of some new products that may be useful, interesting, fun, entertaining, or otherwise of value.

Smart Rings and Smart Cuffs - http://bit.ly/y1hNrX

Stylishly textured in gold or silver, this line of single sculpted prim Smart Jewelry from the Truth & Beauty Lab can query Wikipedia, provide answers from Wolfram Alpha, emit a wide variety of particle displays, animate your avatar during particle displays, scan the area for objects and avatars, and target an object or avatar with a particle beam. One advantage of owning a Smart Ring or Smart Cuff is that, since the items are worn as attachments, you can travel anywhere on the grid and your Pandorabot featured ring or cuff is there to command.

Menhir Internationalized Pandorbots - http://bit.ly/ysFh7w

The Menhir Pandorabot is a single prim object shaped and textured as a Menhir ( see http://en.wikipedia.org/wiki/Menhir ). Menhir Pandorabots are scripted to include all the features of the Truth & Beauty Lab Pandorabots and the textured single sculpted prim provides a realistic recreation of a Menhir. Preconfigured Menhir language versions are available in English, Deutsch, Español, Français, Italiano, Nederlands, Polski, and Português. The language configured Menhir will query the Wikipedia in that language, understanding that language chat and responding in that language when possible.

Smart Dance Pole & Smart Tip Jar Combo Pack - http://bit.ly/rMzxle

Automatically login an avatar and have it automatically start pole dancing, chatting, quoting Wikipedia, greeting new arrivals, delivering notecards and landmarks, monitoring and responding to group chat, and more. A super smart pole dance bot! The Truth & Beauty Lab Smart Dance Pole is scripted with the Pandorabot METAbolt Add-On and configured for use as a dance pole. It is an artificially intelligent dance pole and integrates with the Smart Tip Jar, accepting tips, triggering a pole dancing bot to undress, emote, change outfits, and interact with your visitors. Using an integrated Smart Dance Pole and Smart Tip Jar allows you to maintain an artificially intelligent pole dancing bot avatar who accepts tips 24 hours a day, 7 days a week, year round without monthly fees or hourly charges. The Smart Tip Jar can automatically trigger your dance pole bot avatar to undress when a tip threshold is reached and get dressed after a specified duration. NOTE: The Smart Tip Jar splits all tips - 90% going to the owner and 10% going to the Truth & Beauty Lab.

T3-M4 Scanning Follower Droid - http://bit.ly/zj69hQ

The Truth & Beauty Lab T3-M4 Scanning Follower will follow its owner at a configurable offset and can be controlled via a dialog menu interface. Included in its features is the ability to scan the area for objects and avatars then assemble and display a report which includes statistics on the resource consumption of the detected objects and avatars. The T3-M4 Scanning Follower can fire a laser at selected avatars or detected objects/avatars from one of its scans. It also makes cute bot sounds. The boxed product includes preconfigured Scanning Followers - two T3-M4 Astromech Droids. The droids are a realistic reconstruction of the T3-M4 from the Old Republic Star Wars era. The T3-M4 Scanning Follower integrates with the Truth & Beauty Lab Pandorabots so versions of it that chat, query Wikipedia, supply answers from Wolfram Alpha, greet arrivals, etc are also available in the marketplace store. A single prim Eye Candy Scanning Follower is also available for those who prefer to conserve resources and display cool visuals while providing identical functionality as the 39 prim T3-M4 Scanning Follower.

Particle Textures Display Heart - http://bit.ly/y0Fyaa

This single prim sculpted heart rotates, emits particle displays using the particle textures in its contents, and accepts new particle textures allowing you to view your particle displays easily and quickly. The prim cycles through whatever particle textures are in its contents. Clicking the heart prim steps to the next particle texture.

Truth & Beauty Lab Heart Follower - http://bit.ly/y4rPKK

This single prim sculpted heart rotates, follows its owner at a specified offset, changes textures, emits particle displays, and can be used to scan the area for objects and avatars producing a complete detailed report.

Second Life Haiku Generator - http://bit.ly/AjiqZ9

Rez this portrait of Basho, the famous Japanese haiku poet, and click it to get an automatically generated Second Life related haiku. Each time the portrait is clicked a different Second Life related haiku will be generated. The large collection of words and phrases used to construct the haikus is constantly growing and the haikus are generated on a server so you never have to update the inworld object.

The Truth & Beauty Lab Marketplace - http://bit.ly/xaFZ92

Many more new, entertaining, informative, useful, fun, and interesting products are available at the Truth & Beauty Lab Marketplace. Please visit https://marketplace.secondlife.com/stores/44210 and browse the shop.

Feedback

Do you have suggestions, requests, comments, criticism, kudos, testimonials, funny stories, etc. concerning any of the Truth & Beauty Lab products? Email missyrestless@gmail.com or IM Missy Restless and let me know what you think. I'm always happy to help if I can and many products ideas and improvements have originated with suggestions and requests from clients & casual encounters.

Friday, February 3, 2012

Internationalizing Your Pandorabot's Wikipedia Query

If you want to allow non-English speaking Second Life residents to trigger a Pandorabot Wikipedia query in that person's native language then use the following settings in the Configuration notecard of your Pandorabot.

In order to detect German (Deutsch)  residents input and also to output Deutsch answers from your Pandorabot, use these settings:
LANG_CODE = de
LANG_NAME = Deutsch
WIKIPEDIA_TRIGGERS = was ist ein ,?, was sind die ,?, was ist ,?, was sind ,?, wer sind ,?, wer ist ,?, wo ist ,?, wo sind ,?, what is ,?, what's ,?, what're ,?, what is a ,?, what is an ,?, what is the ,?, what are the ,?, what's a ,?, what's an ,?, who is ,?, who are ,?, who're ,?, who's ,?,,?
To detect French (Français) residents input and output Français answers from your Pandorabot, use these settings:
LANG_CODE = fr
LANG_NAME = Français
WIKIPEDIA_TRIGGERS = quelle est la ,?, qui est le ,?, ce sont ,?, quelles sont les ,?, ce qui est une ,?, qu'est-ce qu'un ,?, quels sont les ,?, ce qui est ,?, qui est ,?, qui sont ,?, où est ,?, what is ,?,what's ,?,what're ,?,what is a ,?,what is an ,?,what is the ,?,what are the ,?,what's a ,?,what's an ,?,who is,?,who are,?,who're,?,who's,?,,?
 To detect Dutch (Nederlands) residents input and output Nederlands answers from your Pandorabot, use these settings:
LANG_CODE = nl
LANG_NAME = Nederlands
WIKIPEDIA_TRIGGERS = wat is een ,?, wat zijn de ,?, wat is de ,?, wat is ,?, die is ,?, die ,?, what is ,?, what's ,?, what're ,?, what is a ,?, what is an ,?, what is the ,?, what are the ,?, what's a ,?, what's an ,?, who is ,?, who are ,?, who're ,?, who's ,?,,?

To detect Italian (Italiano) residents input and output Italiano answers from your Pandorabot, use these settings:
LANG_CODE = it
LANG_NAME = Italiano
WIKIPEDIA_TRIGGERS = cosa è un ,?, ciò che è uno ,?, qual è il ,?, cosa è ,?, chi è ,?, che è il ,?, cosa sono ,?, chi sono ,?, quali sono le ,?, what is ,?, what's ,?, what're ,?, what is a ,?, what is an ,?, what is the ,?, what are the ,?, what's a ,?, what's an ,?, who is ,?, who are ,?, who're ,?, who's ,?,,?

To detect Portuguese (Português) residents input and output Português answers from your Pandorabot, use these settings:
LANG_CODE = pt
LANG_NAME = Português
WIKIPEDIA_TRIGGERS = o que é ,?, quem é ,?, o que é o ,?, quem é o ,?, quais são ,?, quem são ,?, o que é um ,?, o que é um ,?, o que são o ,?, what is ,?, what's ,?, what're ,?, what is a ,?, what is an ,?, what is the ,?, what are the ,?, what's a ,?, what's an ,?, who is ,?, who are ,?, who're ,?, who's ,?,,?
To detect Spanish (Español) residents input and output Español answers from your Pandorabot, use these settings:
LANG_CODE = es
LANG_NAME = Español
WIKIPEDIA_TRIGGERS = lo que es ,?, quien es ,?, ¿cuál es la ,?, quien es el ,?, ¿cuáles son ,?, que son ,?, ¿qué es un ,?, lo que es un ,?, ¿cuáles son las ,?, what is ,?, what's ,?, what're ,?, what is a ,?, what is an ,?, what is the ,?, what are the ,?, what's a ,?, what's an ,?, who is ,?, who are ,?, who're ,?, who's ,?,,?
To detect Polish (Polski) residents input and output Polski answers from your Pandorabot, use these settings:
LANG_CODE = pl
LANG_NAME = Polski
WIKIPEDIA_TRIGGERS = co jest ,?, , który jest ,?, co jest ,?, , który jest ,?, jakie sa ,?, którzy sa ,?, co jest ,?, co jest ,?, jakie sa ,?, what is ,?, what's ,?, what're ,?, what is a ,?, what is an ,?, what is the ,?, what are the ,?, what's a ,?, what's an ,?, who is ,?, who are ,?, who're ,?, who's ,?,,?
 And so ends the most awesome blog post ever.

Friday, January 27, 2012

How to Make METAbolt based Pandorabots' Chat Appear to Come from the Alt Avatar

A new option in the METAbolt_Config notecard controls whether a METAbolt based Pandorabot's chat originates from the base prim or the alt avatar bot. Setting USE_LSL_SAY = TRUE in METAbolt_Config causes all chat from the bot to appear as if it is coming from the avatar thereby making it even more difficult for a guest to tell if he or she is chatting with a bot or a real person.

This uses METAbolt's LSL API and therefore only works if the MD5's METAbolt password is specified in the MD5SUM variable in METAbolt_Config. Find the METAbolt password in METAbolt preferences by clicking Application -> Preferences -> Security/L$. Copy the password and chat the following within 20 meters of your METAbolt based Pandorabot:
    /777 password=the-password-string-you-copied
The Pandorabot should then chat the MD5'd password. Copy the MD5 string, edit METAbolt_Config and set MD5SUM=the-md5-string-you-copied.

METAbolt based Pandorabots supporting this feature include:
Note, you must have the METAbolt LSL API plugin loaded for this to work. The METAbolt Wiki has instructions on auto-loading the LSL API plugin.

    Monday, December 12, 2011

    METAbolt Based Pandorabots Updated With Multiple Tip Jar Support

    All METAbolt based Pandorabots have been updated to provide support for deployment of multiple Smart Tip Jars. The products updated are:
    The Smart Tip Jar now includes a notecard setting to specify the key of the METAbolt based avatar bot to associate with the tip jar. The Tip_Config notecard in the Smart Tip Jar can be modified to set BOT_KEY. Once a valid key is specified in Tip_Config that tip jar will only trigger outfit changes in the avatar designated by that key. The avatar bot's key can be located in the base prim description field or, with some viewers, in the avatar bot's profile. Connecting the Smart Tip Jar to an individual avatar bot allows multiple tip jars to operate within 20 meters of each other.

    If you only deploy a single METAbolt based Pandorbot and a single Smart Tip Jar then there is no need to set the BOT_KEY in Tip_Config.

    Pandorabot METAbolt Add-On is not associated with or sponsored by METAbolt (http://www.metabolt.net).

    Thursday, December 1, 2011

    How to Animate Your Actorbot or METAbolt Pandorabot

    The Pandorabot Actorbot Add-On and Pandorabot METAbolt Add-On can utilize dance, sit, and stand animations much like an Animation Overrider (AO). To enable this feature, drag animations from the owner's inventory into the base prim. In order for the preconfigured dance, sit, and stand commands to function properly the dances must contain the string “dance” in their name, the sits must contain the string “sit” in their names, and the stands must contain the string “stand” in their name. The strings “dance”, “sit”, and “stand” are case insensitive. To rename an animation in your inventory, right click on the animation and select “Rename”. Alternately, you can simply load your animations in the dance pole without renaming them and ignore the dialog menu otions to specify animation type. Renaming animations according to type is recommended.

    Note that any AO the bot is wearing will most often have no effect since the bot is "sitting" on the base prim. In fact, it is recommended that bots detach any AO prior to being deployed as some AO's can interfere with the animations in the base prim.

    Many excellent animations are freely available either inworld or on the Second Life Marketplace. Once you have located an AO for your bot, extract the animations from the contents of the AO, rename them if necessary, and drag them to the contents of the base prim. To extract the animations from an AO, drag the AO from your inventory to the ground. Right click on the rezzed AO and select "Edit". Click on the "Contents" tab and drag the animations you wish to use from the edit window to your inventory.

    A few Marketplace links to free or inexpensive AO's and dances:
    Inworld you can find many excellent inexpensive animations for L$10 - L$15 at Kuso Kuso. Note also that you do not have to use animations from an AO. Many standalone animations are suitable for use in the base prim.

    Wednesday, November 23, 2011

    How to Create Custom Pandorabot Responses

    Second Life Pandorabots come preconfigured with AI response capabilities using Wikipedia, Wolfram Alpha, and an Artificial Linguistic Internet Computer Entity (A.L.I.C.E.) programmed in AIML. By default, all Pandorbots use a customized Bot ID at pandorabots.com for their AIML responses. This default Bot ID has been extensively customized for use in Second Life by the Second Life Pandorbots. However, some owners of Second Life Pandorabots may wish to customize their Pandorabot to provide responses specific to their deployment (e.g. shop attendant, tour guide, roleplay bot, etc).

    Create Your Own Bot At Pandorabots.com
    In order to provide site specific customized responses for your Pandorabot you need to create your own Bot at pandorabots.com. First, sign-up for an account at pandorabots.com by visiting http://pandorabots.com/botmaster/en/new-account. After you have registered for an account and logged in, click "Create a Pandorabot". Enter a name for your Pandorabot in the name field and select one of the "Startup AIML" choices. The default Pandorabot Bot ID uses Dr Wallace's A.L.I.C.E. for the startup AIML and this is the one you should select if you are going to be copying the Second Life Pandorabots AIML (see below).

    Train Your New Bot
    Once you have entered a name and selected a startup AIML, click "Create Pandorabot". You are now ready to either train or program your customized Pandorabot. The easiest way to provide custom responses is by "training" the Pandorabot. Click on the "Train" button near the top of the page. This allows you to enter phrases a human might say to your Pandorabot, see what the Pandorabot would reply, and type in the response that you would like your Pandorabot to give instead.

    Edit Your New Bot's Properties
    In addition to training your Pandorabot for specific phrase recognition and custom responses you can edit the Properties of your Pandorabot by clicking on the "Properties" button near the top of the page. Fill in, add, or change any of the Property fields on this page and click "Submit Changes" at the bottom of the page.

    Upload Replacement And New AIML Files
    Advanced botmasters can more extensively program the Pandorabot by editing the AIML (Artificial Intelligence Markup Language). This allows you to more generally specify patterns to recognize, categories, and templates with which to respond. To edit your Pandorabot's AIML, click on the "AIML" button near the top of the page. Here you can download, modify, and upload the AIML files your Pandorabot uses. First, let's see how you would replace some of your Pandorabot's AIML files with the ones I have customized for use in Second Life.

    To use the AIML I have customized download a zip file of my AIML files at http://tinyurl.com/c433udn . My modified AIML files have been  named "AnaA", "AnaB", and so on denoting they replace the default AIML files named "A", "B", and so on.

    Once you have downloaded my custom AIML return to the AIML tab at pandorabots.com. In the right hand column, uncheck the AIML files you will be replacing (e.g. uncheck A.aiml if you will be uploading my AnaA.aiml). At the bottom of the page, upload the custom AIML files you wish to use (e.g. the ones you downloaded from Scribd).

    In addition to uploading my custom AIML replacement files you can create your own new AIML file specifying the responses you wish your Pandorabot to use. Copy an existing AIML file, rename it, and modify the categories, patterns, and templates to suit your individual bot's deployment. For instance, copy the "pandorabots" AIML file and rename it "MyShop.aiml" replacing the categories, patterns, and templates with phrases to match and responses suited to your shop. Upload your new AIML file(s).

    Publish Your New Bot And Copy The Bot ID
    Once you have customized your Bot as pandorabots.com you must "Publish" it to get a Bot ID. Click on the bot's name then the "publish" link. You will be taken to a page which says:
    This pandorabot is published at:
    http://www.pandorabots.com/pandora/talk?botid=blablabla 
    Where "blablabla" above is your Bot ID. Copy this string.
    Edit the Configuration notecard in your Second Life Pandorabot.
    Add a line at the top of the notecard something like:
        BOT_ID = b8dad52dce344c95
    but instead of "b8dad52dce344c95" use the Bot ID you copied
    above. Save the notecard. You're done.

    Subsequent changes to AIML you make at pandorabots.com will
    be reflected immediately in your Second Life Pandorabot once
    you republish your bot at pandorabots.com.

    Monday, November 21, 2011

    How to Setup Your Wolfram Alpha App ID

    All recent Pandorabots can query Wolfram Alpha for factual answers and computational replies. This includes the Pandorabot METAbolt Add-On, Pandorabot Actorbot Add-On, Smart Dance Pole, Inner Spheres, and all Pandorabots. Wolfram Alpha provides what is arguably the largest most intelligent database of publicly accessible information in the world. Wolfram Alpha and Wikipedia enabled Pandorabots are arguably the smartest scripted agents in the world.

    However, your Pandorabot is initially configured to access Wolfram Alpha with a shared Application ID that is limited to 2000 queries per month and used by all other unconfigured Pandorabots. It's important to setup your Pandorabot with its own unique Wolfram Alpha AppID.

    To configure your Pandorabot with a unique Wolfram Alpha AppID, signup for a Wolfram Alpha Application ID by visiting http://products.wolframalpha.com/api and click the "Sign up" button. Fill out the form with a valid email address, any name you wish, and a brief description of your Pandorabot. Check the terms of use agreement box and enter the password you wish to use and confirm your password. Click "Sign up" again.

    You should now be signed in to the Wolfram Alpha Developer Portal and, on the My Apps tab. Click the "Get an AppID" button and fill out the "Get a New AppID" form. Use any Application name and description you like. Click the "Get AppID" button. Copy the APPID string and click "OK".

    The APPID string you copied should be stored somewhere. This is the Wolfram Alpha AppID you will use in your Pandorabot. Edit the Pandorabot Configuration notecard by right clicking on the Pandorabot or base prim and selecting "Edit". Click on the Contents tab and right click on the Configuration notecard selecting "Open". Add the following line at the top of the notecard:
        ALPHA_APP_ID = the-appid-string-you-copied
    Save the notecard and close the edit window.

    To recap:
    • Visit http://products.wolframalpha.com/api and click "Sign up"
    • Fill out the form and click "Sign up"
    • Click "Get an AppID" and fill out the form
    • Click "Get AppID
    • Copy the APPID string and click "OK"
    • Edit the Configuration notecard and set ALPHA_APP_ID

    Wednesday, November 16, 2011

    How to Start METAbolt Every Time Windows Starts

    The PC on which your METAbolt client is running can restart for a variety of reasons. Microsoft frequently installs updates which require a restart. Power interruptions, system crashes, and other temporary failures can cause your computer to reboot. You can easily configure your system to restart METAbolt when this happens thus keeping your bot(s) active and logged into Second Life.

    Follow the procedure outlined previously and create a BAT file to start your METAbolt bot(s).

    Copy the BAT file(s) to the Windows System Startup Folder:

    Start -> All Programs -> Startup on the Start Menu

    On Windows 7 this is the folder: 

    C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
    Windows 7 does not allow shortcuts in this Startup folder so a copy of your BAT file rather than a shortcut must be created. Earlier versions of Windows will allow a shortcut.

    Monday, November 7, 2011

    Pandorabots Can Now Query Wolfram Alpha

    The latest major upgrade to all Pandorabots includes support for Wolfram Alpha queries. Wolfram Alpha, created by Wolfram Research, is the world's most sophisticated answer engine. The combination of Wikipedia query, Wolfram Alpha query, and custom AIML responses from pandorabots.com make Pandorabots the smartest scripted agents in Second Life. Or anywhere, for that matter.

    Wolfram Alpha query support has been added to all Pandorabots including the Pandorabot METAbolt Add-On, Pandorabot Actorbot Add-On, Restless Studio Smart Dance Pole, Inner Spheres, Pandorabot V5, and Subgenius Pandorabot.

    To trigger a Wolfram Alpha query simply preface your local chat with one of the trigger phrases setup in the Configuration notecard. By default the Wolfram Alpha trigger phrases are "wolfram", "alpha", and "wolfram alpha". So, for example, chatting "wolfram what is the cube root of 387" would get a response from your Pandorabot:
    Input :
    387^(1/3)

    Exact result :
    3^(2/3) 43^(1/3)

    Decimal approximation :
    7.2873616311218428454286590881202865642949650868366337582348...

    Continued fraction :
    [7; 3, 2, 11, 1, 23, 1, 27, 2, 1, 1, 2, 2, 1, 28, 1, 47, 1, 5, 1, 3, 25, 5, 3, 1, ...]
    Initially the Pandorabot is configured to use a shared demonstration Wolfram Alpha application ID limited to 2000 queries per month. Configure your Pandorabot with a unique application ID obtained by registering at http://products.wolframalpha.com/api . Edit the Configuration notecard and set ALPHA_APP_ID  to your App ID.

    Sunday, November 6, 2011

    How to Configure a Non-English Second Life Pandorabot

    I receive frequent requests from Pandorabot owners asking me how they can get their Pandorabot to respond in a non-English language. The default behavior of all Pandorabots including the Pandorabot METAbolt Add-On, Pandorabot Actorbot Add-On, Smart Dance Pole, Inner Spheres, and Pandorabot V5 is to look for trigger phrases in English and respond in English. Some default responses are non-English where translations have been provided in the Artificial Intelligence Markup Language (AIML) the Pandorabot is using at pandorabots.com. Here's how you can configure your Pandorabot to recognize non-English trigger phrases and respond in a non-English language.

    The following settings in the Configuration notecard control language preferences in Pandorabots:


    Quick & Easy

    Edit the Configuration notecard in your Pandorabot and add the following two lines to the top of the notecard:

        LANG_CODE = xx
        WIKIPEDIA_TRIGGERS =what is ,?,what's ,?,what're ,?,what is a ,?,what is an ,?,what is the ,?,what are the ,?,what's a ,?,what's an ,?,who is,?,who are,?,who're,?,who's,?,,?

    Where "xx" is one of the 2 letter language codes from the "Wiki" column in the table at http://meta.wikimedia.org/wiki/List_of_Wikipedias

    More Difficult

    Add translations of the Wikipedia triggers in the language you prefer. For example, to configure your Pandorabot to query the French Wikipedia when it detects "who is", "what is", or "who are" in French spoken in local chat, set the following:

        LANG_CODE = fr
        WIKIPEDIA_TRIGGERS =what is ,?,what's ,?,what're ,?,what is a ,?,what is an ,?,what is the ,?,what are the ,?,what's a ,?,what's an ,?,who is,?,who are,?,who're,?,who's,?,ce qui est ,?,qui est ,?,qui sont ,?,,?

    Similarly, add translations for the EMAIL_TRIGGERS, SPELL_TRIGGERS, and SHUTOFF_TRIGGERS

    Detailed & Thorough

    Edit the Configuration notecard in your Pandorabot and modify the following notecard settings:

    LANG_CODE
    Use one of the 2 letter codes from the "Wiki" column in the table at http://meta.wikimedia.org/wiki/List_of_Wikipedias
    For instance, to query the Italian Wikipedia, set
        LANG_CODE = it
    If no Wikipedia article exists for your query in the preferred language then the Pandorabot will try the English Wikipedia.

    LANG_CODES
    A list of 2 letter language codes which will be selectable via the Pandorabot dialog menu.

    LANG_NAMES
    A list of language names that correspond to the LANG_CODES list. This is what will be displayed in the Pandorbot dialog menu buttons.

    UNWIKIABLE_PHRASES
    This is a list of phrases which should not be passed to Wikipedia. To accomodate non-English speaking guests, you can translate these phrases into your guests' language(s) and either replace or add to the list.

    WIKIPEDIA_TRIGGERS
    These phrases trigger a Wikipedia query. Add to this list similar phrases in the language(s) your guests will be using. Alternatively, to force every message the Pandorabot hears to Wikipedia, add an empty string to the list of triggers. For example:

            WIKIPEDIA_TRIGGERS =what is ,?,what's ,?,what're ,?,what is a ,?,what is an ,?,what is the ,?,what are the ,?,what's a ,?,what's an ,?,who is,?,who are,?,who're,?,who's,?,ce qui est ,?,qui est ,?,qui sont ,?,,?

    ALPHA_TRIGGERS
    These phrases indicate the resident wishes to query Wolfram Alpha for a factual answer. The default Wolfram Alpha triggers are “wolfram alpha”, “wolfram “, and “alpha “. For example, to ask Wolfram Alpha for the cube root of 387 you could say “wolfram what is the cube root of 387”. If you wish to provide Wolfram Alpha triggers in another language, add them to this list.

    EMAIL_TRIGGERS
    These phrases indicate the resident wishes to send email. Add to this list similar phrases in the language(s) your guests will be using.

    SPELL_TRIGGERS
    These phrases indicate the resident wishes to check the spelling of a word. Add to this list similar phrases in the language(s) your guests will use.

    SHUTOFF_TRIGGERS
    These phrases will shut the Pandorabot off until touched. By default the Pandorabot will stop responding when it hears either “Be quiet” or “Shut up” in local chat. Add to this list similar phrases in the language(s) your guests will be using.

    Greeting New Arrivals

    To set the greeting issued to new arrivals, edit the Greeter_Config notecard and set the GREET_1, GREET_2, GREET_3, and GREET_4 variables with a welcome message in the language of your preference.

    Custom Language AIML

    Many of the Pandorabot responses are generated with the Artificial Intelligence Markup Language (AIML) at pandorabots.com. Even with all of the above settings configured for a non-English language the Pandorabot will still draw some responses from either the English language Wikipedia, Wolfram Alpha, or the AIML responses at pandorabots.com. Many of the responses at pandorabots.com have been translated into German and French. However, most are English only.

    To provide for non-English pandorabots.com responses it will either be necessary to translate the existing default AIML or create a custom set of AIML files in the preferred language. If you have a custom set of AIML files already prepared and used by a public Pandorabot at pandorabots.com then you can configure your Second Life Pandorabot to use that AIML by setting
        BOT_ID = that-pandorabots-id
    in the Configuration notecard.

    Monday, October 31, 2011

    Setup the Smart Tip Jar with the Pandorabot METAbolt Add-On

    You can easily configure your Pandorabot METAbolt Add-On so that it will operate with the Restless Studio Smart Tip Jar. This can allow your Smart Tip Jar to accept tips, trigger outfit changes, and chat emotes when tipped. Normally the Smart Tip Jar is used in conjunction with the Smart Dance Pole to accept tips and trigger outfit changes of a pole dancer. However, it can also be used in conjunction with the latest Pandorabot METAbolt Add-On.

    To configure your Pandorabot METAbolt Add-On to work with the Smart Tip Jar, edit the METAbolt_Config notecard in the add-on's Contents. Set the following variables at the top of the notecard:

    DEFAULT_OUTFIT_UUID = some-clothing-folder-uuid
    NAKED_OUTFIT_UUID = clothing-folder-uuid-used-when-tipped
    TIP_LISTEN = TRUE

    Also edit the Tip_Config notecard in the Smart Tip Jar's contents and set the following variables at the top of the notecard:

    DANCER_NAME = Bot's Fullname
    WILL_STRIP = TRUE

    The NAKED_OUTFIT_UUID is the UUID of the clothing folder that will be worn when the tip threshold is reached. The DEFAULT_OUTFIT_UUID is the UUID of the clothing folder worn after the tipped outfit duration is over. Setting WILL_STRIP = TRUE simply means that your bot avatar will change outfits when the tip threshold is reached - that may or may not be a naked outfit, it's up to you.

    In addition to the above notecard changes, follow the setup procedure detailed in the Restless Studio Smart Tip Jar Manual.

    You can purchase the Restless Studio Smart Tip Jar on the Second Life Marketplace.

    Saturday, October 29, 2011

    Smart Tip Jar Enables Pole Dance Bot to Act as Tipped Stripper

    The newly released Restless Studio Smart Tip Jar integrates with the Restless Studio Smart Dance Pole accepting tips, triggering a pole dancing Pandorabot to strip, emote, change outfits, and interact with your visitors. Using an integrated Smart Dance Pole and Smart Tip Jar allows you to maintain an artificially intelligent pole dancing bot avatar who accepts tips 24 hours a day, 7 days a week, year round without monthly fees or hourly charges. The Smart Tip Jar can automatically trigger your dance pole bot avatar to get naked when a tip threshold is reached and get dressed after a specified duration.

    The Smart Tip Jar is designed to be used by a bot logged in via METAbolt and utilizing the Smart Dance Pole but can be used as a normal tip jar as well. The tip jar is a sculpted single prim with a gothic design and glossy glass texture. The tip jar object has No Copy / Modify / Transfer permissions to allow the owner to resize, retexture, configure, and give the Smart Tip Jar as a gift.


    Both the Restless Studio Smart Tip Jar and the Restless Studio Smart Dance Pole are available on the Second Life Marketplace as follows:
    The Restless Studio Smart Tip Jar Manual is freely available for download or viewing in PDF format.

    Tuesday, October 25, 2011

    Setup a Pole Dance Bot with the Newly Released Smart Dance Pole

    I recently modified the Pandorabot METAbolt Add-On and integrated it into a dance pole I created. I released this as the Restless Studio Smart Dance Pole, available on the Second Life Marketplace. Using the smart dance pole you can easily setup a pole dance bot.

    Setup steps are detailed in the Restless Studio Dance Pole Manual. To setup your Restless Studio Smart Dance Pole for use with a METAbolt avatar:
    1. Create a Second Life account with Scripted Agent Status set to bot 
    2. Install METAbolt on a Windows computer and enable Auto Sit 
    3. Drag the Restless Studio Smart Dance Pole from your inventory to the desired location 
    4. Right click the pole and select "Edit"; Click the "Contents" tab of the edit window
    5. Edit the Configuration notecard and set FIRST_NAME and LAST_NAME 
    6. Drag desired animations from your inventory into the dance pole Contents 
    7. Set the "Description" field of the dance pole to your dance bot avatar's Key 
    8. Place your dance pole bot avatar within 10 meters of the pole 
    9. Login your dance pole bot with METAbolt
    This allows you to have a dancer on her pole in your club 24/7. Since the smart dance pole is a Pandorabot, it can chat with your guests, query Wikipedia, send email, check spelling, greet new arrivals, deliver notecards and landmarks, and all the other features of a standard Pandorabot. All for L$395.

    Private Channel Pandorabots and Chat Channel Spam

    Recently I received a report from a customer whose Pandorabot suddenly started spewing spam into local chat. I traced the problem down to a freebie penis that continually announces its location on channel 2. The customer's Pandorabot had been configured to listen on channel 2 rather than the local chat channel (channel 0).

    This does not appear to be a common problem. I've only had one report of private channel spam and there are hundreds of Pandorabots scattered all over the grid. It may be limited to the rare case where a Pandorabot is listening on channel 2 and a resident wearing the OnDuty penis is within chat range. I've asked whether continually announcing your location on a private channel is considered griefing and have yet to receive a reply.

    If your Pandorabot suddenly starts spewing spam take the following steps:
    • Turn your Pandorabot off by saying "menu" on the Pandorabot's chat channel then clicking the "OFF" dialog menu button
    • Edit the Configuration notecard and change the CHANNEL setting. I recommend using a channel number greater than 10 as private chat spam has thus far only been detected on channel 2.
    • Restart your Pandorabot by clicking the base prim. If you cannot see the base prim, click View -> Highlight Transparent or CTRL-ALT-T
    • Email missyrestless@gmail.com or IM Missy Restless to report the problem. Please provide as many details as possible including channel number and a copy of the chat spam.
    I have not yet filed an abuse report against the OnDuty Penis as I'm not sure this is considered abuse (seems to me it should be). I will be making a free Pandorabot update available with private channel spam protection.

    Sunday, October 23, 2011

    How to Upgrade Your Pandorabot METAbolt Add-On

    There have recently been a number of improvements to both METAbolt and the Pandorabot METAbolt Add-On. Support for the recently released METAbolt Group Responder has been added to the Pandorabot METAbolt Add-On. This allows your bot to detect trigger phrases in group chat and respond with customized group IM's. Additional security has been added to the METAbolt LSL API and configuration for this security feature has been added to the Pandorabot METAbolt Add-On. Also added is support for easily moving your Pandorabot METAbolt Add-On to another SL object (e.g. a drum kit or dance pole). Many improvements have also been made to the Pandorabot scripts.

    If you own a Pandorabot METAbolt Add-On and want to freely upgrade to the current version, you can do so by following these steps:
    • Copy any changes you have made to configuration notecards
    • Copy/Move any items you have added to the Pandorabot METAbolt Add-On Base Prim (e.g. landmarks, notecards, textures, ...)
    • Take the Pandorabot METAbolt Add-On Base Prim back into your inventory (log your bot out, right click the Pandorabot METAbolt Add-On Base Prim and select "Take")
    • IM Missy Restless (search for "Missy Restless", click on the "Missy Restless" search result, click on "View Full Profile", click "Instant Message")
    • Drag and drop the Pandorabot METAbolt Add-On Base Prim item from your inventory onto the Instant Message window (note, the object will have the name of your bot)
    You should receive the Pandorabot METAbolt Add-On update as soon as I receive notice of the transfer. When you receive the Pandorabot METAbolt Add-On box, rez it, open the box, copy the contents to your inventory, and rez the Pandorabot METAbolt Add-On Base Prim. You will need to re-do any changes you made to your previous Pandorabot METAbolt Add-On Base Prim (use the saved configuration notecards as reference). Note: I may be away from my computer - if you do not hear from me drop me a reminder.

    Enjoy!

    Friday, October 21, 2011

    Moving the Pandorabot METAbolt Add-On Into Another Object

    The Pandorabot METAbolt Add-On base prim is, by default, a box. The box disappears when the METAbolt logged in avatar bot sits on it and reappears when the avatar logs out. What if you want that base prim to remain visible and you want it to be something other than a boring box ? Maybe you want it to be a drum kit for your bot drummer or a bar for your bot bartender. Here's how to do that.

    First, get the latest Pandorabot METAbolt Add-On from the Second Life Marketplace or by exchanging your current base prim for the latest. Follow the setup procedure described in the Pandorabot METAbolt Add-On Manual but add these two settings to the METAbolt_Config notecard:
    INVISIBLE_BASE = FALSE
    RESIZE = FALSE
    Set TEXT_ENABLED = FALSE in the Configuration notecard.

    That's it, you can move the scripts and notecards into any object that has Modify permission. I've even had success moving the scripts into already scripted objects although of course this can be problematic if the existing scripts have channel or other conflicts with the Pandorabot METAbolt Add-On scripts.

    When moving the Pandorabot METAbolt Add-On to another object it may be necessary to adjust the sit target. This is a vector consisting of 3 offsets from the base prim - left/right, forward/back, and up/down. The sit target can be specified in the METAbolt_Config notecard with the TARGET setting. For instance, a sit target for a thin vertical object where you want the avatar at the bottom of the object might be:
    TARGET = <0.0,0.0,-0.6>
    A drum bot might need a sit target toward the rear of the object:
    TARGET = <0.0,-0.5,0.2>

    Tuesday, October 18, 2011

    How to Enable the METAbolt LSL API for Outfit Changes

    Quick & Easy Summary
    To enable Pandorabot METAbolt Add-On dialog menu outfit changes, set your METAbolt preferences to disable LSL command security and autorun the LSL API plugin.

    Background
    Recently the METAbolt LSL API was moved from the METAbolt core to a plugin. In addition, preferences were added to allow METAbolt users to restrict the LSL API use to the owner and/or a scripted object. These changes, although arguably beneficial for METAbolt architecture and security, broke the Pandorabot METAbolt Add-On dialog menu commands for outfit changes.

    If you are not using outfit folder changes via the Pandorabot METAbolt Add-On dialog menu interface then you do not need to make any changes.

    In order to re-enable outfit changes in METAbolt 0.9.51.0 and later you will need to make the following changes to your METAbolt preferences (Application -> Preferences).

    Enforcing LSL Command Security
    The easiest way to enable dialog menu outfit folder changes is to disable LSL command security. This can be done in the Application -> Preferences -> General -> Security/L$ METAbolt preferences pane by unchecking the "Enforce LSL command security" checkbox. See the section "Enhanced LSL API Security" below for an alternate, more secure, and somewhat difficult way to enable outfit folder changes via the dialog menu.

    Loading the METAbolt LSL API Plugin
    In addition to disabling LSL command security (or using enhanced LSL API security) you will also need to load the LSL API Plugin. To load the plugin automatically on each startup of METAbolt, go to the Application -> Preferences -> Plugins METAbolt preferences pane. In the "Available plugins" window, click on "MB_LSLAPI" then click the ">" button to add it to "Selected plugins". Click "Apply" and "OK". Alternately, the plugin can be loaded manually by clicking "Plugins -> MB_LSLAPI".

    Individual Avatar Preferences
    Each avatar you login with METAbolt has their own individual preference settings. The preference settings described above (disable LSL command security and autorun the LSL API plugin) must be done for each avatar. To do so, login as an avatar and make these changes to your preferences. Repeat for each METAbolt avatar you use for which you would like to enable outfit folder changes via the dialog menu.

    Enhanced LSL API Security
    Additional LSL API security is available with the "Enforce LSL command security" checkbox in the METAbolt preferences via the Application -> Preferences -> General -> Security/L$ checkbox. To enable outfit folder changes via the dialog menu _and_ enforce LSL command security you need to set the Master Avatar and Object UUID's. To find the Pandorabot METAbolt Add-On base prim UUID you will need some elementary LSL script skills. Create an LSL script with the default state entry as follows: 

    state_entry() { 
            llOwnerSay("Owner UUID is " + (string)llGetOwner());
            llOwnerSay("Object UUID is " + (string)llGetKey()); 
    }


    Drop the script into the base prim Contents. Copy the base prim owner's UUID to the "Avatar UUID" setting. Copy the object UUID string to the "Object UUID" setting. Delete the script from the base prim Contents. Make sure the "Enforce LSL command security" box is checked then click "Apply" and "OK". Repeat for each avatar for which you wish to enable enhanced LSL API security.

    METAbolt LSL API Documentation
    METAbolt maintains an excellent website with News, Announcements, Downloads, an Add-On/Plugin Directory, a Community Forum, and the METAwiki which provides extensive documentation & tips. The following METAwiki pages provide information on the LSL API:

    Monday, October 17, 2011

    How to Login Multiple Pandorabots with METAbolt

    If you are using METAbolt to login more than one Pandorabot then you may find it convenient to create a DOS batch file allowing you to login multiple bots with a single click. To do so, follow this procedure:
    • Exit METAbolt if already logged in
    • Start METAbolt - enter your avatar's first and last name
    • Enter the password
    • Check the "Remember my password" option box
    • Check the "Create av BAT file" option box
    • Click on the login button
    This will create a BAT file with the name of your avatar in the "Roaming" folder. To find the location of your Roaming folder:
    • Click on the "Help" menu on the top right hand corner of METAbolt
    • Select the "About METAbolt" menu option
    • "Data Dir" is the location of your Roaming folder
    If your bot's name is Jane Doe then the BAT file will be called Jane_Doe.bat, the INI file will be called Jane_Doe_METAbolt.ini.

    Repeat the above procedure for each of the bots you wish to login with METAbolt, creating a BAT file in the Roaming folder for each bot. After this is done you can create a master BAT file for all of your bots as follows:
    • Open Notepad from the Windows Start menu
    • Copy the contents of each of the BAT files in your Roaming folder into Notepad
    • In Notepad click  "File -> Save As" and save the file with an extension of ".bat" (e.g. by the name "Login_All.bat")
    For example, a batch file to login two avatars named Anya Ordinary and Easy Islay with METAbolt might look something like: 
    @ECHO OFF

    START "" /D "C:\Program Files\METAbolt (64 bit)\" "C:\Program Files\METAbolt (64 bit)\metabolt.exe" Anya Ordinary password1

    START "" /D "C:\Program Files\METAbolt (64 bit)\" "C:\Program Files\METAbolt (64 bit)\metabolt.exe" Easy Islay password2
    You can now create a Desktop shortcut for your METAbolt login master BAT file:
    • Open Windows Explorer and navigate to the folder where your master BAT file was saved
    • Right click on the BAT file and select "Send to -> Desktop"
    • An icon for the shortcut to your BAT file will now appear on your desktop
    Make sure all METAbolt bots are logged out and click on the newly created desktop icon for your BAT file shortcut. Your bots will all be logged in with METAbolt.

    Tuesday, October 11, 2011

    Greeter Disabled By Default

    As of 10/10/2011 all Pandorabots available on the Second Life Marketplace have default settings that disable the Greeter. To enable the Greeter in these newly revised Pandorabots:
    • Edit the Configuration notecard and set 
         GREET_ENABLED = TRUE
    • Edit the Greeter_Config notecard and set one or more of
        GREET_ENABLED = TRUE
         GIVE_LANDMARK = TRUE
         GIVE_NOTECARD = TRUE
         GIVE_NAMED_NOTECARD = TRUE
    These changes are also reflected in the updated Pandorabot Actorbot and Pandorabot METAbolt Add-Ons. In addition, support for the Group Responder plugin was added to the Pandorabot METAbolt Add-On.