Difference between revisions of "IRC:exec aliases"

From SoylentNews
Jump to: navigation, search
(join)
Line 1: Line 1:
 
[[IRC:exec]]
 
[[IRC:exec]]
  
==join==
+
==~==
~join #channel (don't have to be channel op)
+
 
 +
==~bot==
 +
 
 +
==~bucket==
 +
 
 +
==~buckets-dump==
 +
 
 +
==~buckets-flush==
 +
 
 +
==~buckets-list==
 +
 
 +
==~buckets-load==
 +
 
 +
==~buckets-save==
 +
 
 +
==~chart==
  
==sed==
+
==~cid==
~sed on|off<br />
 
[nick[:|,|>|.] ]s/pattern/replace[/[g]] (similar to SedBot)
 
  
==part==
+
==~comments==
~part (bot leaves channel)
 
  
==list==
+
==~count==
~list (lists available commands)
+
~count &lt;nick&gt;
  
==list-auth==
+
==~cowsay==
~list-auth (lists available commands requiring NickServ account authorization)
 
  
==define==
+
==~define==
 
~define term
 
~define term
  
==define-add==
+
==~define-add==
 
~define-add term, meaning
 
~define-add term, meaning
  
==define-count==
+
==~define-count==
~define-count
+
 
 +
==~define-delete==
 +
 
 +
==~define-list==
 +
 
 +
==~define-source-edit==
 +
 
 +
==~define-source-param==
 +
 
 +
==~define-sources==
 +
 
 +
==~deop==
 +
 
 +
==~dest-clear==
 +
 
 +
==~dest-override==
 +
 
 +
==~devoice==
 +
 
 +
==~find-first==
 +
~find-first &lt;text&gt;
  
==define-delete==
+
==~find-last==
~define-delete
+
~find-last &lt;text&gt;
  
==define-list==
+
==~first==
~define-list
+
~first &lt;nick&gt;
  
==define-sources==
+
==~fortune==
~define-sources
 
  
==isup==
+
==~g'day==
~isup host[:port] (checks connection, returns http status if found)
+
 
 +
==~gday==
  
==header==
+
==~header==
~header &lt;header&gt; &lt;url&gt;<br />
+
~header &lt;header&gt; &lt;url&gt;
returns value of header (if found)<br />
+
returns value of header (if found)
 
fails silently if error occurs or header not found
 
fails silently if error occurs or header not found
  
==rainbow==
+
==~header-login==
~rainbow text
 
  
==translate==
+
==~help==
~translate tolang text (auto-detects source lang, eg: ~translate en prueba)
 
  
==translate-sl==
+
==~ignore==
~translate-sl fromlang tolang text (eg: ~translate-sl es en prueba)
 
  
==time==
+
==~invite==
~time location
 
  
==weather==
+
==~ircd==
  
Syntax:
+
==~isup==
* ~weather location
+
~isup host[:port] (checks connection, returns http status if found)
  
Examples:
+
==~join==
* ~weather JFK
+
~join #channel (don't have to be channel op)
* ~weather vostok, aq
 
* ~weather crutchy
 
  
Related commands:
+
==~kick==
* [[IRC:exec_aliases#weather-add|~weather-add]]
 
* [[IRC:exec_aliases#time-add|~time-add]]
 
  
Developers:
+
==~kill==
* [[User:Crutchy|crutchy]]
 
  
Sources:
+
==~killall==
* 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==
+
==~last==
 +
~last &lt;nick&gt;
  
Syntax: ~weather-add name location
+
==~list==
 +
~list (lists available commands)
  
Developer(s): [[User:Crutchy|crutchy]]
+
==~list-auth==
 +
~list-auth (lists available commands requiring NickServ account authorization)
  
Source:
+
==~location==
* https://github.com/crutchy-/exec-irc-bot/blob/master/scripts/weather.php
+
~location code
* https://github.com/crutchy-/exec-irc-bot/blob/master/scripts/weather_lib.php
 
  
Related commands:
+
==~lock==
* [[IRC:exec_aliases#weather|~weather]]
+
~lock alias (treats all lines entered as being prefixed with alias, channel-specific)
* [[IRC:exec_aliases#time|~time]]
 
* [[IRC:exec_aliases#time-add|~time-add]]
 
* [[IRC:exec_aliases#location|~location]]
 
  
Description:
+
==~log==
  
Enables storing a short name to refer to a longer location description when using the [[IRC:exec_aliases#weather|~weather]] or [[IRC:exec_aliases#time|~time]] commands.
+
==~moo==
  
If a name already exists, setting it again will overwrite the existing named location.
+
==~op==
  
Names cannot be deleted at this stage.
+
==~part==
 +
~part (bot leaves channel)
  
A few thousand ICAO and IATA/FAA airport codes have been imported into the codes file thanks to [["http://openflights.org/data.html"|OpenFlights]].
+
==~php==
  
 +
==~ps==
  
<source lang="dot">
+
==~q==
<crutchy> ~weather-add crutchy melbourne australia
 
<exec> code "crutchy" set for location "melbourne australia"
 
</source>
 
  
==queue==
+
==~queue==
 
~queue (returns number of SN submissions in the queue)
 
~queue (returns number of SN submissions in the queue)
  
==lock==
+
==~rainbow==
~lock alias (treats all lines entered as being prefixed with alias, channel-specific)
+
~rainbow text
 +
 
 +
==~rehash==
 +
 
 +
==~remind==
 +
 
 +
==~restart==
 +
 
 +
==rofl==
 +
 
 +
==~say==
 +
 
 +
==~scramble==
 +
 
 +
==~sed==
 +
~sed on|off
 +
[nick[:|,|&gt;|.] ]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)
  
==unlock==
+
==~unignore==
  
 +
==~unlock==
 
Syntax:
 
Syntax:
* ~unlock
+
~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:
 
Related commands:
* ~lock
+
~weather-add
 
+
~time-add
 
Developers:
 
Developers:
* [[User:Crutchy|crutchy]]
+
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:
 
Sources:
* https://github.com/crutchy-/exec-irc-bot/blob/master/irc_lib.php
+
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
==location==
+
Related commands:
~location code
+
~weather
 
+
~time
==count==
+
~time-add
~count <nick>
+
~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.
 +
&lt;crutchy&gt; ~weather-add crutchy melbourne australia
 +
&lt;exec&gt; code "crutchy" set for location "melbourne australia"
  
==first==
+
==~weather-del==
~first <nick>
 
  
==last==
+
==~welcome==
~last <nick>
 
  
==find-first==
+
==~wiki==
~find-first <text>
 
  
==find-last==
 
~find-last <text>
 
  
 
[[Category:IRC]]
 
[[Category:IRC]]
 
[[Category:IRC:exec]]
 
[[Category:IRC:exec]]

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