Skip to content
General IRCd

Not Working

A TG007 community discussion started by Rashed.

Discussion 11 posts
Page 1 of 1
Open
Topic #16222 · 11 published posts · 3,781 views
#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?

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:?: { }

Get information about ircWx here

still no change

it is on buzzen

i have no notification on whisper

on buzzen it requires raw whisper unless it is somehow converted in the connection.

Get information about ircWx here

/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 :D 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 Nov 13, 2015 6:49 AM by Loveness

This one works good PK_ :yes:

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

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:?:

i mean not every open

every time i'm not on the whisper window

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 :)

That one works perfectly , thank you Loveness