mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Oct 2003
Posts: 37
B
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Oct 2003
Posts: 37
I've looked everywhere I can think of and I can't find a clear answer to this question...on undernet...does a ctcp message count as "target"? I have a serving script and a downloading script and I wanna pass data from one to the other at a very high rate of speed...but target change errors get in the way...what would you recommend I do to get around this?

I was thinking of using ctcp to send like 5 lines of text at a time...but I would imagine if it were possible to do this, spammers would be taking advantage of it...

Any ideas?

-eMpTy

Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
This alias makes use of CPRIVMSG when possible:

alias xctcp {
  • var %i = 1, %c
    while $comchan($1,%i) {
    if $me !isreg $ifmatch {
    !.raw CPRIVMSG $1 $comchan($1,%i) $+(:,$chr(1),$2-,$chr(1))
    return
    }
    inc %i
    }
    ctcp $1-
}


Link Copied to Clipboard