mIRC Home    About    Download    Register    News    Help

Print Thread
#185391 09/09/07 02:38 AM
Joined: Aug 2006
Posts: 60
S
Babel fish
OP Offline
Babel fish
S
Joined: Aug 2006
Posts: 60
How do I halt the default echo when someone DCC's me but not halt the dialog that pops up?

Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
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?


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Code:
on ^*:NOTICE:*:*:{
  if ($2 == chat) { haltdef | return }
  else if ($2 == send) { haltdef | return }
}

That in your remote


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Aug 2006
Posts: 60
S
Babel fish
OP Offline
Babel fish
S
Joined: Aug 2006
Posts: 60
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 ><


Link Copied to Clipboard