mIRC Homepage
Posted By: Darkmnm DCC Sound Problem - 18/08/04 02:45 PM
Can someone please tell me what is wrong in this code. What is supposed to happen is when someone sends me a file it's supposed to play Incoming File Transfer. This does work but it seems to play the sound twice in a row.

Example:
When a file is sent to me i hear In-Incoming File Transfer.
The In part is the wav the first time the Incoming Transfer part is the wav cutting off the wav the first time it is played because it was triggered again to play.
Posted By: CtrlAltDel Re: DCC Sound Problem - 18/08/04 04:51 PM
Quote:
Can someone please tell me what is wrong in this code.


um .. what code?
Posted By: Darkmnm Re: DCC Sound Problem - 18/08/04 11:23 PM
Sorry, Wasn't thinking at all when I typed this post.
Code:
ctcp *:DCC:*:{  
  splay $scriptdirsounds/incoming.wav
}
Posted By: theRat Re: DCC Sound Problem - 18/08/04 11:28 PM
ctcp *:DCC *:*:{
splay $scriptdirsounds/incoming.wav
}


I don't think anyone sends you just "DCC". So maybe we need to catch "DCC *"
Posted By: Iori Re: DCC Sound Problem - 19/08/04 07:58 AM
To trigger only for sends
Code:
ctcp *:DCC [color:blue]send[/color]:*:{ 
  splay $scriptdirsounds/incoming.wav 
}
© mIRC Discussion Forums