mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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
  }
}

Joined: Aug 2003
Posts: 12
R
robmoh Offline OP
Pikka bird
OP Offline
Pikka bird
R
Joined: Aug 2003
Posts: 12
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 }}

Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
on !*:JOIN:#: {
splay -w C:\mirc\system\sound\notify.wav
}

Last edited by pheonix; 22/08/03 11:26 PM.

new username: tidy_trax
Joined: May 2003
Posts: 215
Fjord artisan
Offline
Fjord artisan
Joined: May 2003
Posts: 215
Put a space between the last two }'s and it should be fine.


- Jason
Joined: Aug 2003
Posts: 12
R
robmoh Offline OP
Pikka bird
OP Offline
Pikka bird
R
Joined: Aug 2003
Posts: 12
Thanks! It works!

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

Page 2 of 2 1 2

Link Copied to Clipboard