Author Topic: Basic /play does not work  (Read 2628 times)


  • Newbie
  • *
  • Posts: 8
Basic /play does not work
« on: December 08, 2010, 02:13:15 PM »
Hi All. I am new to scripting but have a quickie here.  I want a sound file (wav or other) to fire when anything is typed in a specific channel and here is my script:

on *:TEXT:**:#wild-life-cam-chat:SendCommand "/play alert.wav"

alert is in my ..\AppData\Local\IceChat\Wavs directory but when anything is typed in the channel it fires back: "->> sendcommand :Unknown command"

Any ideas what I am doing wrong?

Thanks in advance!


  • Newbie
  • *
  • Posts: 8
Re: Basic /play does not work
« Reply #1 on: December 08, 2010, 02:40:51 PM »
this works:

on *:TEXT:**:#wild-life-cam-chat:/mp3 play "D:\Users\u0105084\AppData\Local\IceChat\Wavs\alert.mp3"

but then stops for a while. how can this be made to beep or fire every time?  I have changed the delay in settings to 0 but still it waits.


  • Administrator
  • Hero Member
  • *****
  • Posts: 1974
    • IceChat IRC Client
Re: Basic /play does not work
« Reply #2 on: December 08, 2010, 10:31:08 PM »
Could very well be that the sound is still playing when the next even triggers. It is also an mp3 file which do not play as quickly as a wav file.

Also, you dont need 2 *to match , just 1 is fine. (on *:TEXT:*:#..)

The reason why the 1st one did not work is because SendCOmmand is for VB Style scripting, not mirc style, you cant mix the 2.

Also, the sound settings you set do not pertain to scripting, it pertains to the sound events settings.
The IceChat God