From 884fb902e9936993e13fe87f46fcd0e1fc052499 Mon Sep 17 00:00:00 2001 From: lassulus Date: Mon, 16 Dec 2013 18:19:49 +0100 Subject: Reaktor/IRC: use command patterns --- Reaktor/commands/badcommand | 1 + Reaktor/commands/caps | 1 + Reaktor/commands/retard | 1 - Reaktor/commands/say | 2 ++ 4 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 Reaktor/commands/badcommand delete mode 100755 Reaktor/commands/retard create mode 100755 Reaktor/commands/say (limited to 'Reaktor/commands') diff --git a/Reaktor/commands/badcommand b/Reaktor/commands/badcommand new file mode 100755 index 00000000..c59b4d1c --- /dev/null +++ b/Reaktor/commands/badcommand @@ -0,0 +1 @@ +#? //retard diff --git a/Reaktor/commands/caps b/Reaktor/commands/caps index bc3d7ba2..caa1fe06 100755 --- a/Reaktor/commands/caps +++ b/Reaktor/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/Reaktor/commands/retard b/Reaktor/commands/retard deleted file mode 100755 index c59b4d1c..00000000 --- a/Reaktor/commands/retard +++ /dev/null @@ -1 +0,0 @@ -#? //retard diff --git a/Reaktor/commands/say b/Reaktor/commands/say new file mode 100755 index 00000000..8b83c056 --- /dev/null +++ b/Reaktor/commands/say @@ -0,0 +1,2 @@ +#!/bin/sh +printf '%s\n' "$*" -- cgit v1.2.3