Hey,

I tried to make a script for a friend that would later one of the sound files in Mirc.ini. Now, can do that just fine (code below), but I cannot for the life of me get Mirc to recognize that the ini file has changed and to update accordingly. Is there any way to do this?

Code:
on 1:JOIN:#: { 
  if $chan == #Blah {
    /msg #Thrull TEST
    /writeini Mirc.ini Waves join No Sound
    /flushini Mirc.ini
    /timer 1 1 /Fixini
  }
}

Alias FixIni {
  /writeini Mirc.ini Waves join Beep
  /flushini Mirc.ini
}


Edit:
Upon investigating, it looks as tough I can use com object to get the job done. Thing is, I know next to nothing about them.

I'd just need something that Toggles between "No Sound" and "Beep" for the on join sound trigger.

Thanks

Last edited by Thrull; 09/03/08 09:54 AM.