From f09b4ea6c6a381b85363fd811b6e6526c76593ce Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 16 Dec 2013 18:19:49 +0100 Subject: Reaktor/IRC: use command patterns --- commands/badcommand | 1 + commands/caps | 1 + commands/retard | 1 - commands/say | 2 ++ 4 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 commands/badcommand delete mode 100755 commands/retard create mode 100755 commands/say (limited to 'commands') diff --git a/commands/badcommand b/commands/badcommand new file mode 100755 index 0000000..c59b4d1 --- /dev/null +++ b/commands/badcommand @@ -0,0 +1 @@ +#? //retard 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/retard b/commands/retard deleted file mode 100755 index c59b4d1..0000000 --- a/commands/retard +++ /dev/null @@ -1 +0,0 @@ -#? //retard 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' "$*" -- cgit v1.2.3