Author |
LobbyGhost AIML response template |
BackSlash Marshal Galactic Navy
Joined: March 23, 2003 Posts: 11183 From: Bristol, England
| Posted: 2011-02-21 11:37  
Considering the fact that most of LG's upkeep is down to me nowadays, I have decided to let you guys know the format of LG's responses, which is done in a language called AIML. It's an earlier version of AIML, and I would rather not re-write the entire bot to understand the new version, as such, please keep your submissions LIMITED to one subject and one reply. Anything stupidly complicated will simply get ignored.
As a note, I will not be adding any and all suggestions to LG. Any requests for personalised responces to yourself or another player are denied (unless it's for a member of staff).
LG's AIML is pretty simple to understand, first we start with the initial entry:
WHO IS *
GENERIC
A category is an entry into the AIML database, and anything between this two entries will be read by the interp.
The pattern is what LG looks for, so if anyone types "who is backslash?", LG will match the "who is".
The template entry is the part of the AIML which pushes the response through to either another search term, or output. implies the interp is to look for another entry. In this case "who is *" is considered a GENERIC term, which we will pass on. is the tag used when we want to donate that anything after the pattern is passed on.
GENERIC BACKSLASH
BOTFAQ BACKSLASH
Here we have another entry to AIML, this time we can see the entry has been identified from earlier GENERIC and has passed on the "backslash", which has been found in this pattern.
We could have simply told LG to output text here, but since there can be multiple entries for this question "GENERIC BACKY", for example, we want to add another output futher down, so we can point a duplicate pattern for "GENERIC BACKY" pointing to the last entry. Notice there is no , as we no longer need to carry information down. The duplicate entry, should you need one, looks like this:
GENERIC BACKY
BOTFAQ BACKSLASH
And now we get to the final part, the output.
BOTFAQ BACKSLASH
Blah blah, freaking blah.
You can see here that the two "BOTFAQ BACKSLASH" templates will point to this single pattern. This time we don't include the templates, as we don't need to continue searching for the output - this is the end of the line! All we do here is enter the text that LG will output.
Now that you've read all this, I hope we'll see some interesting LG replies. Any crap ones will simply be ignored, as well as personal ones which I stated earlier.
To finish up, I'll show you another example:
WHAT IS *
GENERIC
GENERIC LOVE
BOTFAQ LOVE
BOTFAQ LOVE
Oh baby, don't hurt me. Don't hurt me no more.
Have fun!
- Jack
[ This Message was edited by: BackSlash on 2011-02-21 11:41 ]
_________________
|
jamesbob Grand Admiral
Joined: August 22, 2009 Posts: 410
| Posted: 2011-02-21 23:13  
that was out of the blue
_________________
|
DiepLuc Chief Marshal
Joined: March 23, 2010 Posts: 1187
| Posted: 2011-02-22 10:32  
Can we make an entry for ourselves?
_________________
|
BackSlash Marshal Galactic Navy
Joined: March 23, 2003 Posts: 11183 From: Bristol, England
| Posted: 2011-02-22 13:54  
Quote:
|
On 2011-02-21 11:37, BackSlash wrote:
As a note, I will not be adding any and all suggestions to LG. Any requests for personalised responces to yourself or another player are denied (unless it's for a member of staff).
|
|
Really, was it that hard to miss?
_________________
|
jamesbob Grand Admiral
Joined: August 22, 2009 Posts: 410
| Posted: 2011-02-22 19:16  
Quote:
|
On 2011-02-22 13:54, BackSlash wrote:
Quote:
|
On 2011-02-21 11:37, BackSlash wrote:
As a note, I will not be adding any and all suggestions to LG. Any requests for personalised responces to yourself or another player are denied (unless it's for a member of staff).
|
|
Really, was it that hard to miss?
|
|
try not putting it in the middle of a display of techno babble
_________________
|
BackSlash Marshal Galactic Navy
Joined: March 23, 2003 Posts: 11183 From: Bristol, England
| Posted: 2011-02-22 19:30  
By middle you mean right at the top, correct?
_________________
|
Eledore Massis [R33] Grand Admiral Templar Knights
Joined: May 26, 2002 Posts: 2695 From: tsohlacoLocalhost
| Posted: 2011-02-22 20:28  
WHAT ARE *
GENERIC
GENERIC ENH
BOTFAQ ENHANCEMENTS
GENERIC ENHANCEMENT
BOTFAQ ENHANCEMENTS
GENERIC ENHANCEMENTS
BOTFAQ ENHANCEMENTS
BOTFAQ ENHANCEMENTS
Enhancements are in-game utilities that modify characteristics of your ship or devices.
_________________ DS Discordion
|
Lacrosseian Fleet Admiral Raven Warriors
Joined: October 01, 2004 Posts: 1254
| Posted: 2011-02-22 22:25  
WHO IS *
GENERIC
GENERIC SARD
BOTFAQ SARDUARDO
GENERIC SARDAUKAR
BOTFAQ SARDUARDO
BOTFAQ SARDUARDO
An odd creature that Sardaukar, always drawn to the color green; even going as far as to cover himself in green while in the confines of the lobby.
_________________
|
jamesbob Grand Admiral
Joined: August 22, 2009 Posts: 410
| Posted: 2011-02-22 23:54  
Quote:
|
On 2011-02-22 19:30, BackSlash wrote:
By middle you mean right at the top, correct?
|
|
no the middle you got to remember people start at the button and read up.
how else could he have asked a question that was self answering.
_________________
|
Gejaheline Fleet Admiral Galactic Navy
Joined: March 19, 2005 Posts: 1127 From: UGTO MUNIN HQ, Mars
| Posted: 2011-02-23 11:44  
I've always wanted a "who is Geja?" one, but if I write one myself it might look too vain and self-absorbed of me.
So instead, I'll have to write some useful ones and hope someone else is kind enough to do a (decent) one for me.
_________________ [Darkspace Moderator] [Galactic Navy Fleet Officer]
|
JBud Marshal
Joined: February 26, 2008 Posts: 1900 From: Behind you.
| Posted: 2011-02-23 17:02  
Okay, I threw this together today, it should work fine, if not let me know and I can tweak a few things.
HOWTO BUY *
BUY
BUY ENHANCEMENTS
BOTFAQ BUYE
BUY ENH
BOTFAQ BUYE
HOW DO I BUY ENHANCEMENTS
BOTFAQ BUYE
HOW DO I PURCHASE ENHANCEMENTS
BOTFAQ BUYE
BUY CREDITS
BOTFAQ BUYC
HOW DO I BUY CREDITS
BOTFAQ BUYC
HOW DO I PURCHASE CREDITS
BOTFAQ BUYC
BOTFAQ BUYE
You may buy enhancements in-game using Credits, while in the shipyard, press the "Buy" button located below ship storage, several enhancements are available for purchase.
BOTFAQ BUYC
You may buy Credits using the "Online Store" link on DarkSpace.net or by clicking "[SUBSCRIBE]" in your profile.
_________________ [-Point Jumper-][-Privateer Elite-][-Summus Dux-][-Praeclarae-]
[img(RIP MY SIGNATURE DELETED AFTER 7 YEARS/img]
''Insisto Rector - Suivez le Guide - Tempus hostium est''
|
Fattierob Vice Admiral
Joined: April 25, 2003 Posts: 4059
| Posted: 2011-02-23 17:30  
The first person to add a 1000 unit block as a "fatty" receives my undying rage
_________________
|
Borgie Chief Marshal Pitch Black
Joined: August 15, 2005 Posts: 2256 From: close by
| Posted: 2011-02-23 17:33  
Quote:
|
On 2011-02-22 13:54, BackSlash wrote:
Quote:
|
On 2011-02-21 11:37, BackSlash wrote:
As a note, I will not be adding any and all suggestions to LG. Any requests for personalised responces to yourself or another player are denied (unless it's for a member of staff).
|
|
Really, was it that hard to miss?
|
|
i guess i was the lucky one!
_________________
|
DiepLuc Chief Marshal
Joined: March 23, 2010 Posts: 1187
| Posted: 2011-02-24 10:15  
Quote:
|
On 2011-02-23 17:33, Borgie wrote:
Quote:
|
On 2011-02-22 13:54, BackSlash wrote:
Quote:
|
On 2011-02-21 11:37, BackSlash wrote:
As a note, I will not be adding any and all suggestions to LG. Any requests for personalised responces to yourself or another player are denied (unless it's for a member of staff).
|
|
Really, was it that hard to miss?
|
|
i guess i was the lucky one!
|
|
My bad.
LG is really the best developement in 1.6. [ This Message was edited by: chlorophyll on 2011-02-24 12:50 ]
_________________
|
Deth *CO2* Chief Marshal Army Of Darkness
Joined: March 22, 2010 Posts: 193
| Posted: 2011-02-24 12:34  
will this work im a noob at scripting so..
what is *
what is sheilds
BOTFAQ sheilds
what is armor
BOTFAQ armor
how do i *
how do i rotate sheilds
BOTFAQ rotate
how do i repair myself
BOTFAQ repairself
BOTFAQ rotate
You may rotate sheilds by useing the Numberpad, 8 for fore, 4 for left, 6 for right, and 2 for rear.
BOTFAQ armor
Armor is basicly UGTO's Main defense system it consists of, Ablative armor,Reflective armor, and standard armor. All though ICC has armor it is very weak, And K'luth have the weakest armor of all.
BOTFAQ repairself
If you are in a supply ship And have repair drone's,simply Hit Shift And Y and the same time.
[ This Message was edited by: Bob DarkWolf on 2011-02-24 12:36 ]
_________________
|