-
Posted by bonbon101 on Fri, 25 Jul 2008 17:11:22
I was messing with the "CHAT_MSG_SAY" event, and the variables weren't exactly what they were told to be(link to page on it).
Did they update how this event works? Or was I mistaken on something?
This is what I got for the variables (I did very little testing, so more testing is needed):CHAT_MSG_SAY(event, message, author, language, nothing, author2, nothing2, zero1, zero2, nothing3, zero3, counter)
event = CHAT_MSG_SAY
message = the message that was said
author = the author of the message
language = the language it was spoken in
nothing = ? (was nothing)
author2 = author? (it was my chars name again)
nothing2 = ? (was nothing)
zero1 = 0? (was a 0)
zero2 = 0? (was a 0)
nothing3 = ? (was nothing)
zero3 = 0? (was a 0)
counter = appears to be the counter as mentioned on the previous page -
Posted by jnwhiteh on Fri, 25 Jul 2008 17:11:22
event = CHAT_MSG_SAY
message = the message that was said
author = the author of the message
language = the language it was spoken in
nothing = ? (was nothing)
author2 = author? (it was my chars name again)
nothing2 = ? (was nothing)
zero1 = 0? (was a 0)
zero2 = 0? (was a 0)
nothing3 = ? (was nothing)
zero3 = 0? (was a 0)
counter = appears to be the counter as mentioned on the previous pageHow is this any different from what the documentation page shows? The event is always the first argument and thus isn't listed in the "arguments". Every OnEvent handler gets
self
(the frame) andevent
(the name of the event), followed by a list of arguments.Everything else matches up directly, so perhaps I'm confused about what is "wrong" or "different". Could you please clarify?