EVENT_CHAT_MESSAGE_CHANNEL issues since yesterday?
Hello , this is my first post to this forum.
I have been dabbling in lua addon scripting for ESO for a couple of weeks now and everything was coming along well. I really enjoy it. Everything was working (or at least failing with expected error messages) yesterday afternoon. At some point last night I noticed that I was not getting any output from my EVENT_CHAT_MESSAGE_CHANNEL handler. I was tired and did not want to take apart my (rather medium sized) script, so I disabled it and wrote a new test stub as follows: Code:
chatlog = {} Code:
## Title: chatlog Does anyone know if there has been a change to how this event is handled? or if I'm doing it wrong? Is it working for you? Any advice appreciated. Thanks. |
Quote:
your OnAddOnLoaded is not correct that way: chatlog:OnAddOnLoaded(event, name) => chatlog.OnAddOnLoaded(event, name) Otherwise this has three parameters (the implicit self) |
ThankYouThankYouThankYouThankYouThankYouThankYou
ThankYouThankYou
Your comment not only set me straight, but explained how I got so turned around late last night. I am still struggling with the dot vs colon thing. Many thanks again. Cheers, |
votan already explained it, but I'll give an example:
lua Code:
|
All times are GMT -6. The time now is 04:43 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI