Entries are divided into two; the
input and the
response. Both of these have variations; for example, you can say "I like cake" or "Cake is something I like". Both mean the same thing, but look completely different to a computer.
InputThe easiest way to show how a Input entry is laid out is with an example:
-QuestionHowLongTime
How long until * ?
How long will * [verb-Present Base] * ?
How long does * [verb-Present Base] * ?
At the top, after a hyphen, is the Entry name. Here, it is "-QuestionHowLongTime"
This will be matched to a response with the same name later.
Listed afterwards are different strings that will trigger this response.
The words in the square brackets are wildcards; these are allowed to be any word in a specific group.
Adjectives
[adj-Other]
A neutral adjective.
[adj-positive]
An adjective that descibes something good, like "brilliant" or "great"
[adj-negative]
Opposite of above.
Verbs
[verb-present base]
(Play, melt, explode)
[verb-past]
(Played, melted, exploded)
[verb-3rd person]
(Plays, melts, explodes)
[verb-present participle]
(Playing, melting, exploding)
Pronouns
(easily the hardest part of any language ANYWHERE)
[pronoun-personal]
take the place of common and proper nouns. (I, me, we, us, you, he, she, him, her, them, they, it)
[pronoun-relative]
relate a subordinate clause to the rest of the sentence. (that, which, who, whom, whose, whichever, whoever, whomever)
[pronoun-Demonstrative]
represent a thing or things. (this, these, that, those)
[pronoun-Indefinite]
refer to something that is unspecified. (anybody, something, all, most, nobody...etc)
[pronoun-Reflexive]
end in self or selves. (myself, yourselves...)
[pronoun-Interrogative]
are used to ask questions. (what, who, which, whom, whose)
[pronoun-Possesive]
are used to show ownership. (my, your, ours, theirs, mine...)
There is also a special wildcard, * , which will match absolutely any value!
ResponseThis bit is much easier.
-Pos.Opinion
01|Why do [RevInputMessage]?
02|[RevInputMessage]?! So do I!
03|[RevInputMessage]? I don't...
04|Why do [RevPronounUsed] think that?
05|What makes [RevPronounUsed] say that?
06|[RevPronounUsed] certainly seem happy about it.
07|What makes [RevInputMessage]?
Like before, the name comes first followed by a hyphen. then comes the rest of the stuff, except this time they're numbered. A random one is selected each time.
EDIT:The number MUST be two digits, so go 01, 02, 03...
There are also special control words; again, in square brackets. These are automatically replaced with appropriate values before being sent as a reply.
Current
[inputmessage]
repeats the message recieved.
[revinputmessage]
same as [inputmessage], but changes pronouns to address the person concerned; I becomes you, You becomes me, She becomes her, They becomes them etc.
[pronounused]
Detects whom the statement came from, and returns the pronoun for such. (i.e. in "I like cake" the pronoun would be I, in "he likes cake" it would be he)
[revpronounused]
see [pronounused] and [revinputmessage]
[random10] , [random100] , [random1000]
Generates a random number, from 1 to 10, 100 and 1000 respectively.
[time]
The current time at GMT. hh:mm:ss.
[date]
The current date, also in GMT. dd/mm/yyyy.
[datestring]
The date, spelled in words. (i.e. sixteenth of July two thousand and ten)
Possible (in future)