Browse Source

Update 'gmcommand.lua'

Adjusted to include DSP's new ! command usage.
master
atom0s 7 years ago
parent
commit
7e3efb9d1c
  1. 2
      gmcommand.lua

2
gmcommand.lua

@ -35,7 +35,7 @@ require 'common'
---------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------
ashita.register_event('command', function(command, ntype) ashita.register_event('command', function(command, ntype)
-- Look for commands starting with @ -- Look for commands starting with @
if (command:startswith('@')) then if (command:startswith('@') or command:startswith('!')) then
AshitaCore:GetChatManager():QueueCommand('$' .. command:remove(1), 1); AshitaCore:GetChatManager():QueueCommand('$' .. command:remove(1), 1);
return true; return true;
end end

Loading…
Cancel
Save