Yama commented on a Page, [REQUEST] User join Script  -  Jul 22, 2013

On *:join:#fragharry: {
/write -c names.txt $nick
if ( $nick == Peter ) { splay peter.wav }
elseif ( $nick == David ) { splay david.wav }
elseif ( $nick == Tony ) { splay tony.wav }
}
If you raname the soundfiles exactly like the usernames, you can remove line 3-5 and put this:
/splay $nick $+ .wav
You don't need to set the path to sound files that are in the sounds folder in mIRC.
The names.txt will be created in %appdata% or next to mirc.exe (deppends on your installation).

nox`  -  Jul 22, 2013

On *:join:#:fragharry {
write -c names.txt $nick
if ($istok(Peter David Tony,$nick,32)) sound $nick $+ .wav
}

Krawalli  -  Jul 23, 2013

First i have to say: Thank you! :)
Part with names.txt works very fine!

But it didnt play the sounds :/
Iam useing mirc for twitch.tv is there any difference to other channels?

Yama  -  Jul 23, 2013

If you use Nox´s code, replace 'sound' with 'splay'.
And look in the server status window for errors and tell us.

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.