mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 21
G
Green Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Jan 2003
Posts: 21
Hi..:)

I like to know how I can set, when i get voice, or get opped, a mp3/wav file starts to play (so i head some sounds when i get voiced/opped)

Is it something like this?

on 1:voice:#: {
if ( $vnick == $me ) && ( %other == on ) { .splay " $+ $mircdir\sounds\beep.wav $+ " }
else halt }
}

Please tell me..and tell me in wich file i have to put it in (i think "script.ini") but tell me please :P
wink

Last edited by Green; 30/01/03 05:47 PM.

:-D
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
Code:
on 1:voice:#: {
if (( $vnick == $me ) && ( %other == on )) { .splay " $+ $mircdir\sounds\beep.wav $+ " }
}


it should work


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: Jan 2003
Posts: 21
G
Green Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Jan 2003
Posts: 21
and in wich map do i have to put it in?? (cause it doesnt work at mine :S) (i am a noob :P)


:-D
Joined: Dec 2002
Posts: 395
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
Into Remotes section (Alt+R).

Joined: Jan 2003
Posts: 21
G
Green Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Jan 2003
Posts: 21
Yeah, it is in remotes, and also loaded to mirc (i pasted it into remotes while i was in mirc, with alt+r) but it still doesnt work :S
shall i make a copy of what i have in my remotes than?
so u can see whats wrong, cuz i have no idea....

on 1:start:/splay $mircdir $+ sounds\missonimp.mid
on 1:connect:/splay $mircdir $+ sounds\voiced.wav

on 1:voice:#: {
if ( $vnick == $me ) && ( %other == on ) { .splay " $+ $mircdir\sounds\beep.wav $+ " }
else halt }
}



on *:INPUT:#:{
if ( $1 == lol ) {
say 3Laughing Out Loud $2-
halt
}
if ( $1 == haha ) {
say 3 Har Har Har Har! $2-
halt
}
if ( $1 == gg ) {
say 3 Good Game $2-
halt
}
if ( $1 == omg ) {
say 3O My God $2-
halt
}
if ( $1 == omfg ) {
say 3O My f0kin God $2-
halt
}
if ( $1 == su ) {
say 3Shut Up $2-
halt
}
if ( $1 == stfu ) {
say 3Shut The f0k Up $2-
halt
}
if ( $1 == hehe ) {
say 3He He He He $2-
halt
}
if ( $1 == ffs ) {
say 3For f0kin Sake $2-
halt
}
if ( $1 == wtf ) {
say 3W00t The f0k! $2-
halt
}
if ( $1 == grr ) {
say 3Grrrrr Now I'm Mad!!! $2-
halt
}
if ( $1 == np ) {
say 3No Problem $2-
halt
}
if ( $1 == pm ) {
say 3Private Message $2-
halt
}
if ( $1 == ic ) {
say 3I See $2-
halt
}
if ( $1 == soz ) {
say 3OOps Sorry :-) $2-
halt
}
if ( $1 == rgr ) {
say 3Roger That $2-
halt
}
if ( $1 == lmao ) {
say 3Laughing My Ass Off $2-
halt
}
if ( $1 == bbl ) {
say 3Be Back Later $2-
halt
}
if ( $1 == bbs ) {
say 3Be Back Soon $2-
halt
}
if ( $1 == brb ) {
say 3Be Right Back $2-
halt
}
if ( $1 == gtg ) {
say 3Got To Go $2-
halt
}
if ( $1 == rofl ) {
say 3Rolling on the floor laughing $2-
halt
}
if ( $1 == gvd ) {
say 3GodVerDommelsch $2-
halt
}
if ( $1 == k ) {
say 3Okie Dokie! $2-
halt
}
}

This is in my remotes...all things work, except the voiced thing (the blue part)
confused

Last edited by Green; 31/01/03 01:35 PM.

:-D
Joined: Dec 2002
Posts: 40
C
Ameglian cow
Offline
Ameglian cow
C
Joined: Dec 2002
Posts: 40
try this

Code:
on 1:voice:#: {
if ( $vnick == $me ) && ( %other == on ) { .splay " $+ $mircdir\sounds\beep.wav $+ " }
else { halt }
}


Coca-Bear

Joined: Jan 2003
Posts: 21
G
Green Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Jan 2003
Posts: 21
:S still not working (weird he?)
confused


:-D
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Make sure your remotes are turned on. type /remote on.

Also, %other must be set to 'on'. type /set %other on then see if it works.


Joined: Jan 2003
Posts: 21
G
Green Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Jan 2003
Posts: 21
what you mean with %other?
lol im noob :P


:-D
Joined: Jan 2003
Posts: 21
G
Green Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Jan 2003
Posts: 21
WOOOaaaah

It works grin

THNX ALL DUDES WHO HELPED ME! cool


:-D

Link Copied to Clipboard