mIRC Home    About    Download    Register    News    Help

Print Thread
#164759 15/11/06 09:17 PM
Joined: Nov 2004
Posts: 842
Jigsy Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
Is there any way I can get what I wrote to echo into a window.

e.g.

Code:
on *:sockwrite:Socket:{
  if ($window(@sWindow)) { echo -i2t @sWindow -> $1- }
}


What do you do at the end of the world? Are you busy? Will you save us?
#164760 19/11/06 11:31 PM
Joined: Nov 2004
Posts: 842
Jigsy Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Nov 2004
Posts: 842
I guess nobody know's then. Oh well ...


What do you do at the end of the world? Are you busy? Will you save us?
#164761 20/11/06 03:26 AM
Joined: Oct 2005
Posts: 1,741
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
I don't think that's how the sockwrite event works. It triggers when the /sockwrite buffer has finished writing to the socket. The only identifiers that are valid (probably) are the ones on /help sockets. The $1- likely doesn't contain anything.

-genius_at_work


Link Copied to Clipboard