OpenLayers OpenLayers

Magic Wand

Magic with oltrac

from the master magician

If you hang out at #openlayers, you might be interested in some fun things you can do in that channel, using oltrac. This oltrac thing is bot that actively listens on the channel and snags some messages as commands that it then executes and dumps back into the channel. It seems that the oltrac code is from http://inamidst.com/phenny/, but its been extended in some ways specifically for OpenLayers. Here are some things you can do:

OpenLayers specific functions

`<page>

returns a link to a page in OpenLayers trac

#<ticket number>

returns a description of the ticket with the given number, and a link to it in trac

r<revision number>

returns a link to a changeset, based on an svn revision number

patches?

patches are graciously accepted

milestone <milestone name>
returns the milestone's open tickets

.apidocs OpenLayers.Map setBaseLayer:

Link to the setBaseLayer documentation page

.docstring OpenLayers.Map setLayerIndex:

Prints out the documentation for the string, if possible.

General Functions

oltrac: help <command>

displays crappy help for oltrac, which doesn't list much of its capability. If <command> is passed, returns help on that command (which is a bit more useful)

oltrac: tell <someone> <something>

oltrac will repeat <something> when <someone> next appears in the channel (sends a message to the channel).

.g <term>

google's <term> and returns the the first hit

.wik <page>

finds <page> in wikipedia

.beats

returns the current internet time, whatever that is.

.weather <airport code>

prints out the weather for the city identified by the airport code

.gc <term>

returns the google count for <term>

.calc <query>

sends <query> to google calc