Skip to content

Tutorial Properties

Keith Sterling edited this page Oct 3, 2017 · 11 revisions

Properties

    <bot name="someproperty" />
brain:
    files:
        properties: $BOT_ROOT/config/properties.txt
name:Y-Bot
firstname:Y
middlename:AIML
lastname:BoT
fullname:Y-Bot

nationality:Scottish
ethnicity:Electronic
gender:male
species:robot
personality:helpful and fun
type:asexual
lattitude:asexual
orientation:electronic devices

Variables

Global

    <set name="someproperty">somevalue</set>
    <get name="someproperty" />

Local

    <set var="somevar">somevalue</set>
    <get var="somevar" />

For more information on using variables see set and get and for more information on how to use properties see bot


Back to Tutorial | Back - Maps | Next - Conditionals

Clone this wiki locally