Skip to content
SmartBots

Setting up barkeeper messages

 
(21 intermediate revisions not shown)
Line 1: Line 1:
-
Alive Barkeeper is being configured using IM messages. To start configuring your barkeeper, touch him:
+
'''Alive Barkeeper''' add-on comes with set of pre-defined messages that it can send throughout it's bar-tending process. Read below how to change/customize these messages.  
-
[[Image:Barkeeper configure 1.jpg|link=|center|border]]
+
To find the message configuration page:  
  +
# Visit your '''Alive Barkeeper add-on page'''
  +
# Click your '''Personal Bot's name''' (left-side menu)
  +
# Click '''setup greeting messages''' option
-
== How to Configure BARKEEPER ==
+
== Setting up Messages ==
-
Once you type "SB-BARKEEPER help" you will see a list of options:
+
Here you can configure the various interaction messages that occur at different events:
-
+
-
[[File:BarConfig1.png‎|link=|center|border]]
+
  +
[[Image:Barkeeper message page.png|link=|center|border|550px]]
-
=== Barkeeper's text messages ===
+
* '''Visitor has touched the Barkeeper''' - This message is sent out when visitor clicks on barkeeper
  +
* '''Visitor has made a choice''' - When visitor selects a drink in the dialog menu
  +
* '''Visitor has paid''' - these two messages are sent in 2 different situations. When visitor has paid enough for a drink price, or not enough.
  +
* '''The drink is ready''' - This message is sent to visitor when barkeeper finishes up the drink
  +
* '''Visitor touches while making a drink''' - This message is sent if barkeeper is touched while making a drink for another visitor.
  +
* '''Visitor pays without selecting a drink''' - This message is sent when visitor pays, but doesn't select a drink in the menu.
  +
* '''Barkeeper invitation''' - This is the message that barkeeper keeps repeating.
  +
** '''Say it every''' - Defines a period (in minutes) of '''Barkeeper invitation''' message
-
Typing "SB-BARKEEPER get" will provide you with a list of the current available messages, their current settings and instructions on how to change them.
+
=== Message variables ===
-
Below is a table of the available messages and what they do:
+
In each message, you can also includes message variables. Each variable converts into different values when message is sent.
-
{{Generic 2-table start|Command|Description}}
+
# '''<NAME>''' - Name of the visitor.
-
{{SBSL Example Entry|hello}}
+
# '''<PRICE>''' - the drink price you set
-
{{SBSL Example Entry|menu}}
+
# '''<SLURL>''' - the current location of the bot
-
{{SBSL Example Entry|choice}}
+
# '''<DRINK>''' - the current drink name
-
{{SBSL Example Entry|noorder}}
+
-
{{SBSL Example Entry|gotmoney}}
+
-
{{SBSL Example Entry|orderready}}
+
-
{{SBSL Example Entry|busy}}
+
-
{{SBSL Example Entry|invitation}}
+
-
{{Generic table end}}
+
-
Any of the above messages can be disabled by leaving it blank.
+
[[Alive_Barkeeper_Bot|<<Go Back to Alive Barkeeper]]
  +
__NOTOC__
-
To change a message type "SB-BARKEEPER set message=your message here" change message to the one you want to change and replace your message here with your message. For eg changing the hello message:
+
[[Category:Bot add-ons configuration]]
-
 
+
-
SB-BARKEEPER set hello= Hello Nice to meet you!
+
-
 
+
-
Barkeeper will then provide a confirmation message saying that the option has been changed.
+
-
 
+
-
 
+
-
== Automatic invitation ==
+
-
 
+
-
Barkeeper automatically invites nearby avatars to buy a drink by sending an "invitation" message. You can change this message or completely disable automatic invitation by setting the message to empty:
+
-
 
+
-
SB-BARKEEPER set invitation=
+

Latest revision as of 22:26, 31 May 2019

Alive Barkeeper add-on comes with set of pre-defined messages that it can send throughout it's bar-tending process. Read below how to change/customize these messages.

To find the message configuration page:

  1. Visit your Alive Barkeeper add-on page
  2. Click your Personal Bot's name (left-side menu)
  3. Click setup greeting messages option

Setting up Messages

Here you can configure the various interaction messages that occur at different events:

Barkeeper message page.png
  • Visitor has touched the Barkeeper - This message is sent out when visitor clicks on barkeeper
  • Visitor has made a choice - When visitor selects a drink in the dialog menu
  • Visitor has paid - these two messages are sent in 2 different situations. When visitor has paid enough for a drink price, or not enough.
  • The drink is ready - This message is sent to visitor when barkeeper finishes up the drink
  • Visitor touches while making a drink - This message is sent if barkeeper is touched while making a drink for another visitor.
  • Visitor pays without selecting a drink - This message is sent when visitor pays, but doesn't select a drink in the menu.
  • Barkeeper invitation - This is the message that barkeeper keeps repeating.
    • Say it every - Defines a period (in minutes) of Barkeeper invitation message

Message variables

In each message, you can also includes message variables. Each variable converts into different values when message is sent.

  1. <NAME> - Name of the visitor.
  2. <PRICE> - the drink price you set
  3. <SLURL> - the current location of the bot
  4. <DRINK> - the current drink name
<<Go Back to Alive Barkeeper