[5.30] Notify with sound

Hotfixes for outdated Gamers.IRC versions.
chris1
Administrator
Posts: 3029
Joined: 11.09.2003 20:17
Status: Gamers.IRC Coder

[5.30] Notify with sound

Unread postby chris1 » 28.02.2010 00:57

Bug:
When someone is on your notify list and you want Gamers.IRC to play a sound, It did not work.
Now it works if it is turned on in the notify options.

Solution:
Open the mIRC script editor (Alt+R) with gamersirc.grc, scroll to line (6234):

Code: Select all

on ^*:notify:{
Add after this line:

Code: Select all

  if ($readini(mirc.ini,notifyopts,n1)) {
    if ($readini(mirc.ini,notifyopts,n1) == beep) { beep }
    else { splay $v1 }
  }
scroll to line (6242):

Code: Select all

on *:unotify:{
Add after this line:

Code: Select all

  if ($readini(mirc.ini,notifyopts,n2)) {
    if ($readini(mirc.ini,notifyopts,n2) == beep) { beep }
    else { splay $v1 }
  }
So the whole part should look as follows:

Code: Select all

on ^*:notify:{
  if ($readini(mirc.ini,notifyopts,n1)) {
    if ($readini(mirc.ini,notifyopts,n1) == beep) { beep }
    else { splay $v1 }
  }
  if (($nick == Q) && ($right($server,13) === .quakenet.org) && ($notify(Q).note == qauth)) {
    .notify -r Q
    qauth
  }
  if (%nNotify [ $+ [ $cid ] ] == $nick) { haltdef }
  elseif (y isin %st_balloon) { balloon 1 3 > Notify > $nick $init_lang(Events,29) }
}
on *:unotify:{
  if ($readini(mirc.ini,notifyopts,n2)) {
    if ($readini(mirc.ini,notifyopts,n2) == beep) { beep }
    else { splay $v1 }
  }
  if ($readini(bin\ini\settings.ini,setup,notifyon)) {
    if ($nick == %nNotify [ $+ [ $cid ] ]) {
      kte_echo -a $init_lang(Nickchange,11)
      nick %nNotify [ $+ [ $cid ] ]
      .notify -r %nNotify [ $+ [ $cid ] ]
      unset %nNotify [ $+ [ $cid ] ]
      halt
    }
  }
}
Status:
Fixed in the next Gamers.IRC version.

Patched files:
You can find all Gamers.IRC files with integrated hotfixes here.

Who is online

Users browsing this forum: No registered users and 1 guest