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?
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?