O.P. RE: Altering incoming text
Yeah agreed.. might not need that though, i just altered text before it reached the window, infact before plus had even had chance to take the special chars out and the notifycode. I altered it and then it was placed in the chat window no problem. This could be useful when people keep sending plus sounds and stuff to annoy you.. i used it to edit a ping that was sent so that i didnt auto reply.. it worked. I know you can probebly turn the ping thing off but i dont care lol.
Depending on whether the plugins called before the text is sent to the main window, in theory you could add code to a plugin that would alter the real text just before it was sent to the chat window. If you wanted to edit it before plus does you would have to do it before that id imagine.
This would be ideal for an encryption plugin, not having to use msgbox's.
RooJ
This post was edited on 04-26-2004 at 01:36 AM by RooJ.
|