mIRC Home    About    Download    Register    News    Help

Print Thread
play sound on text #122363 09/06/05 05:34 PM
Joined: Jun 2005
Posts: 2
M
Muggins Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
M
Joined: Jun 2005
Posts: 2
can some one please give me an example of a simple script to play a sound when a certain word is typed please?

i have searched through the forums but i just cant find what i need...

thanks ppl, appreciated.

Re: play sound on text #122364 09/06/05 05:59 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Very simple example:

Code:
on *:text:hello:#: {
  .splay hello.wav
}


Invision Support
#Invision on irc.irchighway.net
Re: play sound on text #122365 10/06/05 03:44 PM
Joined: Jun 2005
Posts: 2
M
Muggins Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
M
Joined: Jun 2005
Posts: 2
thank you very much m8, appreciated smile

Re: play sound on text #122366 10/06/05 10:24 PM
Joined: Feb 2005
Posts: 15
X
xMIRCd Offline
Pikka bird
Offline
Pikka bird
X
Joined: Feb 2005
Posts: 15
to make it for the whole sentence:
Code:
on *:TEXT:*[color:red]word[/color]*:*:{
.splay[color:red] filename.ext [/color] 
}