I will look into the issue, although I haven't found the guilty commit yet. Nick would probably be able to find it faster.
Can you show your code? I just ran a test case on the official binary as well as one I built myself, and it worked on both.
The plugin I used to test is below. I tested the command using the Immediate function (Ctrl+I) and calling BroadcastPlugin() from there. That should work, but if it doesn't for you, I am quite intruiged.
 |
To save and install the TestReceiveBroadcast plugin do this:
- Copy between the lines below (to the Clipboard)
- Open a text editor (such as Notepad) and paste the plugin into it
- Save to disk on your PC, preferably in your plugins directory, as TestReceiveBroadcast.xml
- Go to the MUSHclient File menu -> Plugins
- Click "Add"
- Choose the file TestReceiveBroadcast.xml (which you just saved in step 3) as a plugin
- Click "Close"
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE muclient>
<!-- Saved on dinsdag, september 28, 2010, 7:54 -->
<!-- MuClient version 4.62 -->
<!-- Plugin "TestReceiveBroadcast" generated by Plugin Wizard -->
<muclient>
<plugin
name="TestReceiveBroadcast"
author="Worstje"
id="e4e99e5c87166aa107944dce"
language="Lua"
purpose="Tests the OnPluginBroadcast callback."
date_written="2010-09-28 19:52:20"
requires="4.12"
version="1.0"
>
</plugin>
<script>
<![CDATA[
function OnPluginBroadcast (msg, id, name, text)
Note ("msg = " .. msg)
Note ("id = " .. id)
Note ("name = " .. name)
Note ("text = " .. text)
end
]]>
</script>
</muclient>
|