mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2004
Posts: 11
J
Pikka bird
OP Offline
Pikka bird
J
Joined: Jan 2004
Posts: 11
on *:SOCKREAD:Socket2:{
if ($sockerr > 0) return
:nextread
sockread %temp2
if ($sockbr == 0) return
if (%temp2) aline @Chat2 %temp2
if (.say isin %temp2) { sockwrite -tn Socket2 privmsg # :14(15 $2- 14) }
;writes the received text to the window @Chat
goto nextread
}

how do i make that .say command working?

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922

Joined: Jan 2004
Posts: 11
J
Pikka bird
OP Offline
Pikka bird
J
Joined: Jan 2004
Posts: 11
How do i make this good, that when i join a channel where a socket is in, the socket will op me?
I have put this in my remote by sockread, but i don't know how it excactly works.

if (($2 == JOIN) && ($right($1,-1) == $me)) {
sockwrite -tn Socket2 mode # +o $me
}


Link Copied to Clipboard