|
|
@ -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 |
|
|
|