Custom Command
API -
function yourEvent(user, string_message)
log(user.displayName .. ' issued a custom command with the message: ' .. string_message);
end
return function()
addEvent('customCommand', 'yourEvent'); --attaches the event to yourEvent()
keepAlive();
end
Last updated