IRC:exec aliases: Difference between revisions
Line 204: | Line 204: | ||
==~weather-add== | ==~weather-add== | ||
Syntax: ~weather-add name location | Syntax: ~weather-add name location<br> | ||
Developer(s): crutchy | Developer(s): crutchy<br> | ||
Sources: | Sources:<br> | ||
https://github.com/crutchy-/exec-irc-bot/blob/master/scripts/weather.php | https://github.com/crutchy-/exec-irc-bot/blob/master/scripts/weather.php<br> | ||
https://github.com/crutchy-/exec-irc-bot/blob/master/scripts/weather_lib.php | https://github.com/crutchy-/exec-irc-bot/blob/master/scripts/weather_lib.php<br> | ||
Related commands: | Related commands:<br> | ||
~weather | ~weather<br> | ||
~time | ~time<br> | ||
~time-add | ~time-add<br> | ||
~location | ~location<br> | ||
Description: | Description:<br> | ||
Enables storing a short name to refer to a longer location description when using the ~weather or ~time commands. | Enables storing a short name to refer to a longer location description when using the ~weather or ~time commands.<br> | ||
If a name already exists, setting it again will overwrite the existing named location. | If a name already exists, setting it again will overwrite the existing named location.<br> | ||
Names cannot be deleted at this stage. | Names cannot be deleted at this stage.<br> | ||
A few thousand ICAO and IATA/FAA airport codes have been imported into the codes file thanks to OpenFlights. | A few thousand ICAO and IATA/FAA airport codes have been imported into the codes file thanks to OpenFlights.<br> | ||
<crutchy> ~weather-add crutchy melbourne australia | <crutchy> ~weather-add crutchy melbourne australia<br> | ||
<exec> code "crutchy" set for location "melbourne australia" | <exec> code "crutchy" set for location "melbourne australia" | ||
Revision as of 00:19, 6 September 2014
~
~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
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"