diff --git a/LUA-Events.md b/LUA-Events.md index a432a1d..87fc39c 100644 --- a/LUA-Events.md +++ b/LUA-Events.md @@ -19,6 +19,8 @@ profile profile, profileDrawingEventArgs eventArgs -- This function will be called after every profile draw. function drawHandler(profile, eventArgs) -- Put your code here + -- The Event Arguments are inside the eventArgs parameter, in a Windows Profile, you could do this: + local currentSong = eventArgs.DataModel.Spotify.SongName; end -- Subscribe to the event AFTER defining the function which must be subscribed.