mIRC Home    About    Download    Register    News    Help

Print Thread
when getting +op you hear sound #9478 03/02/03 03:16 PM
Joined: Jan 2003
Posts: 21
G
Green Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Jan 2003
Posts: 21
Hey...help is needed here....

I want to set, when i get opped, i hear a sound, i allready tried something, but it still doesnt work :S
If you know thats wrong, or what i have to do, help meh please smile
Code:
on 1:op:#: {
if ( $onick == $me ) && ( %other == on ) { .splay " $+ $mircdir\sounds\haleluja.wav $+ " }
else halt }
} 


Thanks on advance


**add**
can i also set something like that, when i receive a private message? so some1 PM me..i hear sound??


Last edited by Green; 03/02/03 03:38 PM.

:-D
Re: when getting +op you hear sound #9479 03/02/03 04:19 PM
Joined: Dec 2002
Posts: 143
A
Aubs Offline
Vogon poet
Offline
Vogon poet
A
Joined: Dec 2002
Posts: 143
Just a couple of slight alterations...
Code:
on *:OP:#:{
  if (($o[color:red]p[/color]nick == $me) && (%other == on)) { .splay " $+ $mircdir\sounds\haleluja.wav $+ " }
  [color:green];you don't need the line below because it will halt anyway[/color]
  else halt
}


I think it *should* work!


For the on private message, Something like this should work...:

on *:TEXT:*:?:{
do what ever you want here
}

Last edited by Aubs; 03/02/03 04:20 PM.

Aubs.
cool

Re: when getting +op you hear sound #9480 03/02/03 08:43 PM
Joined: Jan 2003
Posts: 21
G
Green Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Jan 2003
Posts: 21
Might be strange but...it wont work :S
i now have this..
Code:
on 1:voice:#: {
  if ( $vnick == $me ) && ( %other == on ) { .splay " $+ $mircdir\sounds\voiced.wav $+ " }

on *:OP:#:{
  if (($opnick == $me) && (%other == on)) { .splay " $+ $mircdir\sounds\laugh.mp3 $+ " }

the voice part works, but the op part doesnt..and PM part dont know what you mean smile grin


:-D
Re: when getting +op you hear sound #9481 03/02/03 08:49 PM
Joined: Dec 2002
Posts: 843
P
Poppy Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: Dec 2002
Posts: 843
Should $onick not be $opnick?


Never compare yourself to others - they're more screwed up than you think.
Re: when getting +op you hear sound #9482 03/02/03 08:54 PM
Joined: Jan 2003
Posts: 21
G
Green Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Jan 2003
Posts: 21
yes, i had that, only backspaced it or something on this post :S
but ive changed it already smile
and still not working :S


:-D
Re: when getting +op you hear sound #9483 03/02/03 09:09 PM
Joined: Dec 2002
Posts: 395
M
MonoSex Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
Make sure that your %other variable is set o "on" wink

Re: when getting +op you hear sound #9484 03/02/03 09:13 PM
Joined: Jan 2003
Posts: 21
G
Green Offline OP
Ameglian cow
OP Offline
Ameglian cow
G
Joined: Jan 2003
Posts: 21
ALLLLLRIGHTTYY

i have now this:
Code:
on 1:voice:#: {
  if ( $vnick == $me ) && ( %other == on ) { .splay " $+ $mircdir\sounds\voiced.wav $+ " }
}
on 1:OP:#:{
  if (($opnick == $me) && (%other == on)) { .splay " $+ $mircdir\sounds\laugh.mp3 $+ " }
} 


and it works smile
i only want to know (i have no idea) how to set when someone PM's me i hear a sound, someone knows how to set that??


:-D
Re: when getting +op you hear sound #9485 03/02/03 10:15 PM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Code:
on *:TEXT:*:?:if ( %other == on ) splay " $+ $mircdir\sounds\laugh.mp3 $+ "

If you want the sound only to play when a query opens, use the "Sounds" options in alt+o.