Lexicon

From Wikilyria

Lexicon is a player run bot coded in MUSHclient using VBScript and Perl, written by Darkmagic. Lexicon is the first known bot in Materia Magica to utilize sockets to obtain information from outside of the realm.

Table of contents

Available Commands

Commands are sent via tell in the following syntax:

tell lexicon <command>

Currently the following commands are supported:

  • commands - displays a list of all the commands
  • sysup - displays a recent list of system updates, as pulled from Aodojo.com
  • gossip - displays a recent list of the gossip page, as pulled from Aodojo.com (brok
  • whoa - shows an inappropriate picture
  • whoa2 - shows another inappropriate picture
  • pizza <address> - displays the nearest pizza establishment to that zipcode, mailing address, or city, as pulled from Yahoo.com
  • weather <zipcode> - displays the current weather and the forecast for that zipcode, as pulled from Weather.com
  • report - Returns the current worldgates.
  • who - Returns level, race, class, and login information for a player.

History

Lexicon was written originally by Darkmagic, who at the time was the head operator for the #aochat chatroom, for a character named Trivia. The code base began in Visual Basic Script, and its main use was to announce players entering and exiting the room. The first remote command added was report, which announced the date and time in game to the entire chat room, and also the current world gates. Due to conflicts in the room, Darkmagic left #aochat and took Trivia with him. In 2004, Skitari and the Order of Tari requested a bot for their room. Making a character named Orderoftari, the TriviaBot code (version 1.0) was installed there. Due to unwanted attention and the demise of the Order of Tari, Orderoftari was then renamed to Lexicon. At this time, the TriviaBot code (version 1.5) was pushed onto the character. This code included a new perl plugin that worked alongside the TriviaBot.vbscript file to allow sockets to the internet. Using a centralized server and a variety of PHP scripts, the perl plugin was able to retrieve System Updates (the only way currently to get system updates in game), and recent player kills (also known as Gossip). As a proof of concept, weather and local pizza information was also added in this version. At some point, a capture feed for in game auctions was added, which used the perl plugin to post the information to a PHP script (which immediately places the information into a MySQL table). TriviaBot version 2.5 was pushed onto Lexicon in 2006.

Updates to the Bot

In November 2006, version 2.5 of the Lexicon Bot was pushed onto the bot, which added the following:

  • Anti-spam code, which automatically ignores spammers for some period of time.
  • The report command now works as it once did for the #aochat chatroom. (it returns the worldgate).
  • Sysup has been fixed to work with the new AODOJO.com server.
  • (As a result of the new AODOJO.com server though, Gossip no longer works.)

On June 25th, the 'who' command was added, which allows any player to check level, race, and class information on a player - online or off.

Additional Information

Lexicon is considered a no-harm, no-foul social bot and is therefore under implied authorization from the Immortals. The level 23 character is mainly used nowadays as a feed for the auctions tracker at aodojo.com.

Links

[1] (http://www.aodojo.com/) Aodojo.com