Travis
Historical / Guest
Raw 821 and 822 is also a popular away/return raw event.
takaharu_
Proof-reading pedantic pain in the proverbial Member #17,633
You'd have it exactly where you currently have it:
menu channel {
-
Sounds
.On:enable #Sounds
.Off:disable #Sounds
}
alias soundscript { echo -a The sounds script is in: $scriptdir }
#Sounds on
on *:Op:*:{ splay $scriptdirOp.wav }
on *:Join:*:{ splay $scriptdirjoin.wav }
on *:Part:*:{ splay $scriptdirleave.wav }
on *:kick:*:{ splay $scriptdirkick.wav }
on *:away:*:{ splay $scriptdiraway.wav }
on *:back:*:{ splay $scriptdirback.wav }
#Sounds end
With the above code you can find out where the script is located so you can put the sounds in the same directory. Just type /soundscript and it will tell you the folder where it's located. If you would prefer to put the sounds in a sub folder just add the folder in between as thus: $scriptdirsounds\Op.wav
So, type /soundscript into your status window, navigate to the displayed folder, copy the sounds to that folder then see if the script works.
Edited Jan 12, 2010 8:17 AM by takaharu_
I don't get paid to know the answer, therefore I'm far more likely to give you a straight and honest answer.
With the new versions of mirc they mainly install into your C:\Users\... directory for Windows 7, and somewhere else in Windows Vista as well as the directory you choose to install to. However, the mirc.ini file will more than likely not be in the directory you have chosen, and therefore the $mircdir will not be accurate. $mircdir/$scriptdir will refer to the directory the mirc.ini file is located in. $nofile($mircexe) refers to the directory the current mirc.exe is being run in.
Edited Jan 13, 2010 2:22 AM by Warrior124