Contact email@example.com if you are interested in working on one of these projects. Also, the IRC Page has information about getting started with IRC.
Who we are
|IRC Team Main Page|
|xlefay||Team leader||UTC+2 (CEST)|
|Kobach||Chief Bacon Officer||UTC-5 (us/central)|
Chat bot (Python)
- ELIZA module that uses Futurama personalities (to match the bot's current nick)
- Modify bot logging to match existing formats (mIRC preferably)
- Single sign on against the website (coordinate with NCommander)
- Get the web IRC to use the website's sessions to sign in
- Quick-Start/How-to guide for staff members (.op .topic nickserv commands etc.)
Anyone wanting to join existing bot development projects should contact the developer(s) noted below.
#soylent (general chat, mostly family-friendly)
#staff (anyone welcome to join but only messages from voiced nicks will appear)
#help (irc help)
#test (mainly for bot testing)
Private establishments (unofficial)
There are a few bots lurking in the Soylent IRC channels besides the services mentioned above.
Anyone wishing to develop bots should use #test for testing.
Please avoid flooding in private establishments and official channels (except #test).
lurks in #soylent, ##, etc
<crutchy> weatherbot melbourne australia <SedBot> weather for Melbourne Regional Office, VIC, Australia: 1023.50 mbar, 60.4F/15.8C/288.9K <SedBot> wind mph / 0kph / 0m/s, 0 degrees
lurks in ##, #derp, etc
$sr text # echoes "txet" (reverse of text)
lurks in #soylent, ## and #test
weather-add code location
note: if you do "weather-add code location" with the same code as existing, the existing code location will be overwritten currently unable to delete codes
A few thousand ICAO and IATA/FAA airport codes have been imported into the codes file thanks to http://openflights.org/data.html
<crutchy> weather <weather> SOYLENT IRC WEATHER INFORMATION BOT <weather> usage: "weather location" (visit http://wiki.soylentnews.org/wiki/IRC#weather for more info) <weather> data courtesy of the APRS Citizen Weather Observer Program (CWOP) @ http://weather.gladstonefamily.net/ <weather> by crutchy: https://github.com/crutchy-/test/blob/master/weather.php
<crutchy> weather JFK <weather> Weather for Brooklyn, NY US at 2014-04-14 03:36:00 (UTC) ~ 0.8 hrs ago: <weather> temperature = 66°F (18.9°C) dewpoint = 56.3°F (13.5°C) <weather> barometric pressure = 1017.3 mb ~ change of 0 mb over past 0.2 hrs relative humdity = 71% <weather> wind speed = 1 mph (1.6 km/h) wind direction = 336°
<kobach> weather vostok, aq <weather> Weather for Vostok Station (RUS), -, Antarctica (the territory South of 60 deg S) at 2014-04-14 12:00:00 (UTC) ~ 0.8 hrs ago: <weather> temperature = -83.7°F (-64.3°C) dewpoint = -90.9°F (-68.3°C) <weather> barometric pressure = 948.9 mb ~ change of 1.6 mb over past 6 hrs relative humdity = 57% <weather> wind speed = 10 mph (16 km/h) wind direction = 200°
<crutchy> weather-add crutchy melbourne australia <weather> code "crutchy" set for location "melbourne australia"
<crutchy> weather crutchy <weather> Weather for Melbourne Regional Office, VIC, Australia at 2014-04-14 11:00:00 (UTC) ~ 0.8 hrs ago: <weather> temperature = 60.4°F (15.8°C) dewpoint = 50.2°F (10.1°C) <weather> barometric pressure = 1023.5 mb ~ change of -1.4 mb over past 3 hrs relative humdity = 68% <weather> wind speed = (no data) wind direction = 0°
IRC SCRIPT EXECUTIVE
"bacon" (other nicks may be "coffee" or "mother") is a script that runs in a CLI that connects to the Soylent IRC server (irc.sylnt.us:6667) and executes other programs for output to an IRC channel.
Input to a program is via command line arguments only (stdin is not supported).
stdout of a program may be passed to an IRC channel or output to the stdout of bacon, depending on the value of auto-privmsg in the exec line. If auto-privmsg=0, stdout from the program must begin with "privmsg " for it to be sent to the IRC channel.
Programs executed may be anything accessible from the CLI of the machine running the bacon script. They may be shell programs (such as cowsay and fortune), php scripts (executed using the CLI php command) or scripts in any other language executable by their respective CLI interpreters (python, perl, etc).
To use bacon:
Download above files from github into the same directory, open a terminal and change to that directory, and run "php irc.php".
Scripts may be stored anywhere that is accessible to bacon for CLI execution. If stored in a different location, be sure to include a path in the exec file line.
To invoke a script in IRC client:
<crutchy> define atlantic ocean <bacon> 1 | noun | the 2nd largest ocean; separates North and South America on the west from Europe and Africa on the east\n2 | adjective | relating to or bordering the Atlantic Ocean
In the above example, "define" is the command alias, "atlantic ocean" is passed to the script as %%msg%%
# timeout(sec)|auto-privmsg(1|0)|empty-msg-allowed(1|0)|alias|cmd 5|1|1|cowsay|cowsay "%%msg%%" 5|0|0|test|php test.php "%%msg%%" "%%chan%%" "%%nick%%" 5|1|1|ps|ps 5|1|1|moo|apt-get moo 5|1|1|fortune|fortune -s 5|1|1|cowsay-fortune|sh cowsay-fortune.sh 5|0|0|define|php definitions.php "%%msg%%" "%%chan%%" "%%nick%%" 5|0|0|php|php php.php "%%msg%%" 5|1|0|smile|php smile.php "%%msg%%" #5|1|1|lol|fortune -s #5|1|1|lol-o|fortune -o -s #5|1|1|lol-a|fortune -a -s 5|1|1|uptime|uptime 5|1|1|rofl|fortune -o -s 5|0|1|~up|php up.php "%%start%%" 5|1|1|haskell|runhaskell haskell.hs 5|1|1|perl|perl perl.pl
Available exec templates:
%%msg%% %%chan%% %%nick%% %%start%% # microtime(True) result when bot was started
<?php # 5|0|0|test|php test.php "%%msg%%" "%%chan%%" "%%nick%%" echo "when auto-privmsg=0 this shows on terminal (stdout) only\n"; echo "privmsg msg=".$argv."\n"; echo "privmsg chan=".$argv."\n"; echo "privmsg nick=".$argv."\n"; ?>
If anyone is interested in adding a command or their own script, let crutchy know (crutchy usually hangs out in #soylent, ## and #test).