mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Re: wav file by entering room #43608 22/08/03 11:12 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
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
  }
}

Re: wav file by entering room #43609 22/08/03 11:20 PM
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 }}

Re: wav file by entering room #43610 22/08/03 11:22 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
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
Re: wav file by entering room #43611 22/08/03 11:23 PM
Joined: May 2003
Posts: 215
lammkott Offline
Fjord artisan
Offline
Fjord artisan
Joined: May 2003
Posts: 215
Put a space between the last two }'s and it should be fine.


- Jason
Re: wav file by entering room #43612 23/08/03 08:00 AM
Joined: Aug 2003
Posts: 12
R
robmoh Offline OP
Pikka bird
OP Offline
Pikka bird
R
Joined: Aug 2003
Posts: 12
Thanks! It works!

Re: wav file by entering room #43613 23/08/03 08:01 AM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
You're welcome pal.

Page 2 of 2 1 2