API -
function yourEvent(user, avatar) log(user.displayName .. ' has changed their avatar to ' .. avatar .. '!'); end return function() addEvent('changeAvatar', 'yourEvent'); --attaches the event to yourEvent() keepAlive(); end
Events are asynchronous coroutines.
Last updated 2 months ago