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
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
Joined: Dec 2002
Posts: 143
A
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

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
Joined: Dec 2002
Posts: 843
P
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.
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
Joined: Dec 2002
Posts: 395
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2002
Posts: 395
Make sure that your %other variable is set o "on" wink

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
Joined: Dec 2002
Posts: 3,138
C
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.


Link Copied to Clipboard