From 0769fc6b1b0ec22d4e45f6cc033a642e25923930 Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 15 Oct 2015 23:57:52 +0100 Subject: Added /script run --- src/command/command.c | 35 +++++++++++++++++++++++++++++++++-- src/command/commands.c | 16 ++++++++++++++++ src/command/commands.h | 1 + 3 files changed, 50 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/command/command.c b/src/command/command.c index cd3a8c03..8b43ad21 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1691,6 +1691,28 @@ static struct cmd_t command_defs[] = "/xa", "/xa This meeting is going to be a long one") }, + + { "/script", + cmd_script, parse_args, 2, 2, NULL, + CMD_NOTAGS + CMD_SYN( + "/script run