code:
function OnEvent_ChatWndSendMessage(ChatWnd, Message)
{
if (Message.substr(0, 4) == "/act")
{
Debug.Trace("Recognized");
var split = Message.split(" ");
nick = Messenger.MyName;
var msg = "/me";
Messenger.MyName = split[1];
for (i = 2; i < split.Length; i++)
{
msg += split[i];
}
MsgPlus.AddTimer("restoreNick", 100);
return msg;
}
Debug.Trace("Not Recognized");
}
There
EDIT: If this helps, is gets far enough to change my nick but not far enough to return anything