mIRC Homepage
Posted By: Shining_Phoenix DCC and ctcp ^*:*:*: - 09/09/07 02:38 AM
How do I halt the default echo when someone DCC's me but not halt the dialog that pops up?
Posted By: Lpfix5 Re: DCC and ctcp ^*:*:*: - 10/09/07 03:55 AM
Originally Posted By: Shining_Phoenix
How do I halt the default echo when someone DCC's me but not halt the dialog that pops up?


It all depends if the echo is a notice or a ctcp?
Posted By: sparta Re: DCC and ctcp ^*:*:*: - 10/09/07 07:53 AM
Code:
on ^*:NOTICE:*:*:{
  if ($2 == chat) { haltdef | return }
  else if ($2 == send) { haltdef | return }
}

That in your remote
Posted By: Shining_Phoenix Re: DCC and ctcp ^*:*:*: - 11/09/07 06:50 AM
Erk, now I see that I worded my question badly. Thinking about it properly now...the answer to my question is:
Code:
ctcp ^*:*:*: {
  if (($1 != DCC) && ($target != $me)) {
    haltdef
    stuff
  }
}


I don't drink coffee ><
© mIRC Discussion Forums