Difference between revisions of "IRC:exec aliases"
(→~header) |
(→~weather) |
||
Line 190: | Line 190: | ||
Syntax:<br> | Syntax:<br> | ||
~weather location<br> | ~weather location<br> | ||
+ | weather data courtesy of the APRS Citizen Weather Observer Program (CWOP) @ http://weather.gladstonefamily.net/<br> | ||
Examples:<br> | Examples:<br> | ||
~weather JFK<br> | ~weather JFK<br> |
Revision as of 22:06, 7 September 2014
Contents
- 1 ~
- 2 ~bot
- 3 ~bucket
- 4 ~buckets-dump
- 5 ~buckets-flush
- 6 ~buckets-list
- 7 ~buckets-load
- 8 ~buckets-save
- 9 ~chart
- 10 ~cid
- 11 ~comments
- 12 ~count
- 13 ~cowsay
- 14 ~define
- 15 ~define-add
- 16 ~define-count
- 17 ~define-delete
- 18 ~define-list
- 19 ~define-source-edit
- 20 ~define-source-param
- 21 ~define-sources
- 22 ~deop
- 23 ~dest-clear
- 24 ~dest-override
- 25 ~devoice
- 26 ~find-first
- 27 ~find-last
- 28 ~first
- 29 ~fortune
- 30 ~g'day
- 31 ~gday
- 32 ~header
- 33 ~header-login
- 34 ~help
- 35 ~ignore
- 36 ~invite
- 37 ~ircd
- 38 ~isup
- 39 ~join
- 40 ~kick
- 41 ~kill
- 42 ~killall
- 43 ~last
- 44 ~list
- 45 ~list-auth
- 46 ~location
- 47 ~lock
- 48 ~log
- 49 ~moo
- 50 ~op
- 51 ~part
- 52 ~php
- 53 ~ps
- 54 ~q
- 55 ~queue
- 56 ~rainbow
- 57 ~rehash
- 58 ~remind
- 59 ~restart
- 60 rofl
- 61 ~say
- 62 ~scramble
- 63 ~sed
- 64 ~staff
- 65 ~suggest
- 66 ~tests
- 67 ~time
- 68 ~time-add
- 69 ~time-del
- 70 ~title
- 71 ~translate
- 72 ~translate-sl
- 73 ~unignore
- 74 ~unlock
- 75 ~up
- 76 ~users
- 77 ~voice
- 78 ~weather
- 79 ~weather-add
- 80 ~weather-del
- 81 ~welcome
- 82 ~wiki
~
~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
~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"