Chat plugin callbacks

Posted by Pi on Wed 02 Feb 2005 04:53 AM — 2 posts, 12,523 views.

#0
Hi.

I've converted most of the chat plugin to Lua as vbscript is very unstable here on Wine.

All the aliases have been converted and all the script functions, but I'm having a problem with the final task of converting the callback functions. Although the functions are called when they should be, the arguments are all nil.

function OnPluginChatDisplay (message, sText)
Note(message, sText)
-- message and sText are both nil
end

function OnPluginChatNewUser (id, name)
Note(id, name)
-- id and name are both nil
end

I've tried this on both Windows and Wine with the same results. Is this supposed to happen?
Australia Forum Administrator #1
You have found a bug in the Lua script implementation that will be fixed in version 3.66.