Difference between revisions of "IRC:exec aliases"

From SoylentNews
Jump to: navigation, search
(~unlock)
(~sed)
Line 145: Line 145:
  
 
==~sed==
 
==~sed==
~sed on|off
+
~sed on|off<br>
 
[nick[:|,|&gt;|.] ]s/pattern/replace[/[g]] (similar to SedBot)
 
[nick[:|,|&gt;|.] ]s/pattern/replace[/[g]] (similar to SedBot)
  

Revision as of 00:20, 6 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

~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"

~weather-del

~welcome

~wiki