mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
Code:
on 1:JOIN:[color:red]#[/color]: { 
  if ($nick != $me) { splay C:\mirc\system\sound\notify.wav
  }
}


If you want this to trigger in all channels you are in, leave the # there, if not, if you want it to trigger in a certain channel for instance in #Help..Use this..
Code:
on 1:JOIN:[color:red]#Help[/color]: { 
  if ($nick != $me) { splay C:\mirc\system\sound\notify.wav
  }
}

R
robmoh
robmoh
R
Oke, this is my last try... The folowing code is the last piece of code, including the line you just given me. But still no sound!! Damn! I am doing something wrong!!

.$iif($away == $false,$_(pa001)): awayon
.$iif($away,$_(pa002)): awayoff
.-
.$_(pa003): var %tmp = $shortfn($logdir) $+ awaylog.txt | if ($exists(%tmp)) { run %tmp } | else { fx comply | a $^err $_(ca000) | h }
.$_(pa004): write -c $shortfn($logdir) $+ awaylog.txt
.$_(pa005): ctrl 8
.-
.$_(BPHelp): hlp away
$iif($server,$_(ps018): list)
-
$iif($server,$_(ps019)): quit
}


;EOF
on 1:JOIN:#: { if ($nick != $me) { splay C:\mirc\system\sound\notify.wav }}

P
pheonix
pheonix
P
on !*:JOIN:#: {
splay -w C:\mirc\system\sound\notify.wav
}

Last edited by pheonix; 22/08/03 11:26 PM.
Joined: May 2003
Posts: 215
L
Fjord artisan
Offline
Fjord artisan
L
Joined: May 2003
Posts: 215
Put a space between the last two }'s and it should be fine.

R
robmoh
robmoh
R
Thanks! It works!

Joined: Dec 2002
Posts: 3,534
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,534
You're welcome pal.

Page 2 of 2 1 2

Link Copied to Clipboard