From 7b6a294a6c39ca19f04bce9f103fc0a208434fd6 Mon Sep 17 00:00:00 2001 From: atom0s Date: Fri, 23 Feb 2018 14:55:04 -0800 Subject: [PATCH] Update 'gmcommand.lua' Updated to reflect current DSP command prefix. --- gmcommand.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gmcommand.lua b/gmcommand.lua index f29d848..b080872 100644 --- a/gmcommand.lua +++ b/gmcommand.lua @@ -25,7 +25,7 @@ _addon.author = 'atom0s'; _addon.name = 'gmcommand'; -_addon.version = '3.0.0'; +_addon.version = '3.0.1'; require 'common' @@ -34,9 +34,9 @@ require 'common' -- desc: Event called when a command was entered. ---------------------------------------------------------------------------------------------------- ashita.register_event('command', function(command, ntype) - -- Look for commands starting with @ - if (command:startswith('@') or command:startswith('!')) then - AshitaCore:GetChatManager():QueueCommand('$' .. command:remove(1), 1); + -- Look for commands starting with @ or $.. + if (command:startswith('@') or command:startswith('$')) then + AshitaCore:GetChatManager():QueueCommand('!' .. command:remove(1), 1); return true; end return false;