Rashed Posted November 12, 2015 Report Share Posted November 12, 2015 #Sounds on on *:JOIN:#:{ /splay join.wav } on ^*:PART:*: { /splay part.wav } on *:WHISPER:#: { /splay whisper.wav } on ^*:KICK:*: { /splay kick.wav } #Sounds end the whisper sound not working dont know why? Link to comment Share on other sites More sharing options...
err0r Posted November 12, 2015 Report Share Posted November 12, 2015 try raw whisper:*:{ /splay whisper.wav } instead if this is on buzzen if it's ircd it would be something like on ^*:text:*:?:{ } and on *:INPUT:?: { } Link to comment Share on other sites More sharing options...
Rashed Posted November 12, 2015 Author Report Share Posted November 12, 2015 still no change it is on buzzen i have no notification on whisper Link to comment Share on other sites More sharing options...
err0r Posted November 13, 2015 Report Share Posted November 13, 2015 on buzzen it requires raw whisper unless it is somehow converted in the connection. Link to comment Share on other sites More sharing options...
Loveness Posted November 13, 2015 Report Share Posted November 13, 2015 (edited) /splay will not work if sounds are disabled.. just do /ebeeps on and /splay will work... Tip: You can put to play not only mp3, midi, wav, ogg, but also FLAC, ALAC and all audio formats.. to do this, first of all, you need to have respective decoders (the system wont play these files if you dont have respective decoders) like K-lite media tool or something else.. and to put in script just a simple syntax (an example).. alias splay_allsounds { rename C:\Sound.flac C:\Sound.mp3 splay C:\Sound.mp3 rename C:\Sound.mp3 C:\Sound.flac } works perfectly because mirc doesn't have an audio analyzer or smth else.. it streams audio to system and no matter what extension has the file.. Edited November 13, 2015 by Loveness Link to comment Share on other sites More sharing options...
Rashed Posted November 13, 2015 Author Report Share Posted November 13, 2015 This one works good PK_ Link to comment Share on other sites More sharing options...
Rashed Posted November 13, 2015 Author Report Share Posted November 13, 2015 but still small problem the sound is played even im opening the whisper window and talking it is played on every message the person send Link to comment Share on other sites More sharing options...
Loveness Posted November 13, 2015 Report Share Posted November 13, 2015 but still small problem the sound is played even im opening the whisper window and talking it is played on every message the person send on *:TEXT:*:?: refers to every message you obtain from the query user, so is no problem that on every incoming message the sound is played. If you want to play the sound only when the query is opened, i. e. smb write you for the first time, instead of on *:TEXT:*:?: you must use on ^*:OPEN:?: Link to comment Share on other sites More sharing options...
Rashed Posted November 13, 2015 Author Report Share Posted November 13, 2015 i mean not every open every time i'm not on the whisper window Link to comment Share on other sites More sharing options...
Loveness Posted November 13, 2015 Report Share Posted November 13, 2015 use if () condition to indicate the script when to play and when no.. If i understand correctly you want to play the sound when mirc is minimized or is not active window? Ok, i suggest an example just: on *:TEXT:*:?: { if ($appactive == $false) || (($appactive == $true) && ($active != $nick)) .splay whisper.wav } Note: Do not see everytime splay reply: Playing file.. just put a dot before splay command Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now