IRC:exec aliases: Difference between revisions

From SoylentNews
Jump to navigation Jump to search
Line 149: Line 149:


==~staff==
==~staff==
syntax: ~staff meeting
syntax: ~staff meeting<br>
displays meeting info from either the site news slashbox or the board meeting wiki page
displays meeting info from either the site news slashbox or the board meeting wiki page



Revision as of 01:00, 13 September 2014

IRC:exec

~

~bot

~bucket

~buckets-dump

~buckets-flush

~buckets-list

~buckets-load

~buckets-save

~chart

~cid

~comments

~count

~count <nick>

~cowsay

~define

~define term

~define-add

~define-add term, meaning

~define-count

~define-delete

~define-list

~define-source-edit

~define-source-param

~define-sources

~deop

~dest-clear

~dest-override

~devoice

~find-first

~find-first <text>

~find-last

~find-last <text>

~first

~first <nick>

~fortune

~g'day

~gday

~header

~header <header> <url>
returns value of header (if found)
fails silently if error occurs or header not found

~header-login

~help

~ignore

~invite

~ircd

~isup

~isup host[:port] (checks connection, returns http status if found)

~join

~join #channel (don't have to be channel op)

~kick

~kill

~killall

~last

~last <nick>

~list

~list (lists available commands)

~list-auth

~list-auth (lists available commands requiring NickServ account authorization)

~location

~location code

~lock

~lock alias (treats all lines entered as being prefixed with alias, channel-specific)

~log

~moo

~op

~part

~part (bot leaves channel)

~php

~ps

~q

~queue

~queue (returns number of SN submissions in the queue)

~rainbow

~rainbow text

~rehash

~remind

~restart

rofl

~say

~scramble

~sed

~sed on|off
[nick[:|,|>|.] ]s/pattern/replace[/[g]] (similar to SedBot)

~staff

syntax: ~staff meeting
displays meeting info from either the site news slashbox or the board meeting wiki page

~suggest

~tests

~time

~time location

~time-add

~time-del

~title

~translate

~translate tolang text (auto-detects source lang, eg: ~translate en prueba)

~translate-sl

~translate-sl fromlang tolang text (eg: ~translate-sl es en prueba)

~unignore

~unlock

Syntax:
~unlock
Related commands:
~lock
Developers:
crutchy
Sources:
https://github.com/crutchy-/exec-irc-bot/blob/master/irc_lib.php

~up

~users

~voice

~weather

Syntax:
~weather location
weather data courtesy of the APRS Citizen Weather Observer Program (CWOP) @ http://weather.gladstonefamily.net/
Examples:
~weather JFK
~weather vostok, aq
~weather crutchy
Related commands:
~weather-add
~time-add
Developers:
crutchy
Sources:
https://github.com/crutchy-/exec-irc-bot/blob/master/scripts/weather.php
https://github.com/crutchy-/exec-irc-bot/blob/master/scripts/weather_lib.php

~weather-add

Syntax: ~weather-add name location
Developer(s): crutchy
Sources:
https://github.com/crutchy-/exec-irc-bot/blob/master/scripts/weather.php
https://github.com/crutchy-/exec-irc-bot/blob/master/scripts/weather_lib.php
Related commands:
~weather
~time
~time-add
~location
Description:
Enables storing a short name to refer to a longer location description when using the ~weather or ~time commands.
If a name already exists, setting it again will overwrite the existing named location.
Names cannot be deleted at this stage.
A few thousand ICAO and IATA/FAA airport codes have been imported into the codes file thanks to OpenFlights.
<crutchy> ~weather-add crutchy melbourne australia
<exec> code "crutchy" set for location "melbourne australia"

~weather-del

~welcome

~wiki