mIRC Homepage
Posted By: BIGeMpTy CTCP and target change errors - 13/06/04 08:50 PM
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
Posted By: Online Re: CTCP and target change errors - 13/06/04 09:53 PM
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-
}
© mIRC Discussion Forums