mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2005
Posts: 1
C
cappie Offline OP
Mostly harmless
OP Offline
Mostly harmless
C
Joined: Feb 2005
Posts: 1
I would like to send data (variables from a php script) to mIRC (I want to put inputted form-data into a channel).

so: user on website -> [data] -> php script (on server) -> internal network -> mIRC (on workstation)

I've tried reading the socket manual and several scripts, but it looks a bit different every time I read it... I just don't get it, I think..

Could somebody explain me how to make a listening socket in mIRC and how to read that data into a variable?

Joined: Mar 2004
Posts: 540
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
Your best bet would be udp sockets, open a udp listen and have a sockread event for that socket
on *:sockread:YOURSOCKETNAME: {
sockread %tmp
echo -a %tmp
}


Link Copied to Clipboard