From 8552b4ba5ca6d240392fbde30297e381626e02e3 Mon Sep 17 00:00:00 2001 From: Arcidayne <9382522b@opayq.com> Date: Fri, 11 Sep 2015 14:24:31 -0700 Subject: [PATCH] Epic Calendar in the MUD! --- Epic_Calendar/Epic_Calendar.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Epic_Calendar/Epic_Calendar.xml b/Epic_Calendar/Epic_Calendar.xml index a6a0ff5..2c778c0 100644 --- a/Epic_Calendar/Epic_Calendar.xml +++ b/Epic_Calendar/Epic_Calendar.xml @@ -35,7 +35,7 @@ if "%1" == "" then ColourNote("white","","======================== How To Use =======================\\n\\ngetcal <if/icefall|inferno|oc|all>\\n\\n===========================================================") else - get_cal("%1") + get_cal(string.gsub("%1"," ","")) end @@ -82,7 +82,7 @@ function get_cal(epic) require('tprint') local cal_output = {} - local epic_list, key = "if icefall inferno oc all", "AIzaSyAHEnr8iiK42hzM21pXSbTrBIQ2ezEEUHA" + local epic_list, key, calid = "all if icefall inferno oc", "AIzaSyAHEnr8iiK42hzM21pXSbTrBIQ2ezEEUHA", "" if string.match(epic_list, epic:lower()) then if epic:lower() == "icefall" or epic:lower() == "if" then @@ -91,7 +91,7 @@ function get_cal(epic) calid = "p8est01hkro1bol0bqfsvfm41o%40group.calendar.google.com" elseif epic:lower() == "oc" then calid = "olvq8lncvoufh24b30ml9h2mio%40group.calendar.google.com" - else + elseif epic:lower() == "all" then calid = "shaelynne22%40gmail.com" end