Difference between revisions of "IRC"

From SoylentNews
Jump to: navigation, search
Line 196: Line 196:
To invoke a script in IRC client:
To invoke a script in IRC client:

Revision as of 00:50, 17 April 2014

Contact chat@soylentnews.org 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)
MrBluze Member UTC+10 (AEST)
Landon Member  ?
FunPika Member  ?

Current Projects

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)

Services (C)

  • 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.)

Misc bots

Anyone wanting to join existing bot development projects should contact the developer(s) noted below.


  • servers
  • bots


Official channels

#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)

## (kobach)

#derp (Subsentient)


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).


Developer(s): FoobarBazbot

lurks in #soylent, ##, etc

nick: s/old/new/
weatherbot location
<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


Developer(s): xlefay


Developer(s): mattie_p


Developer(s): Subsentient

lurks in ##, #derp, etc

$sr text # echoes "txet" (reverse of text)



Developer(s): crutchy

Source: https://github.com/crutchy-/test/blob/master/weather.php

lurks in #soylent, ## and #test

weather location
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

Usage examples:

<crutchy> weather
<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°



Developer(s): crutchy

Source: https://github.com/crutchy-/test

Files: [[1]] [[2]]

To invoke a script in IRC client:

alias msg


<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/moo/apt-get moo
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/burrito/php burrito.php "%%msg%%"

Available exec templates:


Example script:

echo "when auto-privmsg=0 this shows on terminal (stdout) only\n";
echo "privmsg msg=".$argv[1]."\n";
echo "privmsg chan=".$argv[2]."\n";
echo "privmsg nick=".$argv[3]."\n";