API -
function yourEvent(user, string_message) log(user.displayName .. ' has said ' .. string_message); end return function() addEvent('chatMessage', 'yourEvent'); --attaches the event to yourEvent() keepAlive(); end
Events are asynchronous coroutines.
Last updated 2 years ago