diff options
author | lassulus <lassulus@googlemail.com> | 2013-12-16 18:19:49 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-12-16 18:19:49 +0100 |
commit | f09b4ea6c6a381b85363fd811b6e6526c76593ce (patch) | |
tree | 18dd4124924ad457641e07094474204ab88cfb0b /commands | |
parent | 58ed45469cab2e25f2a2a7a98de22ac079763063 (diff) |
Reaktor/IRC: use command patterns
Diffstat (limited to 'commands')
-rwxr-xr-x | commands/badcommand (renamed from commands/retard) | 0 | ||||
-rwxr-xr-x | commands/caps | 1 | ||||
-rwxr-xr-x | commands/say | 2 |
3 files changed, 3 insertions, 0 deletions
diff --git a/commands/retard b/commands/badcommand index c59b4d1..c59b4d1 100755 --- a/commands/retard +++ b/commands/badcommand diff --git a/commands/caps b/commands/caps index bc3d7ba..caa1fe0 100755 --- a/commands/caps +++ b/commands/caps @@ -1,4 +1,5 @@ #! /bin/sh +exec echo 'TODO: need access to config.json' set -euf cd public_commands echo `ls` diff --git a/commands/say b/commands/say new file mode 100755 index 0000000..8b83c05 --- /dev/null +++ b/commands/say @@ -0,0 +1,2 @@ +#!/bin/sh +printf '%s\n' "$*" |