[5.30] Sound Request

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

[5.30] Sound Request

Unread post by chris1 » 26.10.2009 12:54

Bug: Sound Request
Sound was not played

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

Code: Select all

        ignore on
        ignore -u $+ $readini(bin/ini/protections.ini,flood,ctcp_ignoretime) $nick
      }
    }
  }
Add after that:

Code: Select all

  elseif ($1 == SOUND) {
    if ($gettok($readini(mirc.ini,options,n3),19,44)) {
      if ($findfile($sound($2),$2,1)) { splay $v1 }
      elseif ($gettok($readini(mirc.ini,options,n3),21,44)) { kte_echo $chan Sound Request: $init_lang(other,7) $2 }
    }
  }
So the whole part should look as follows:

Code: Select all

...
        ignore on
        ignore -u $+ $readini(bin/ini/protections.ini,flood,ctcp_ignoretime) $nick
      }
    }
  }
  elseif ($1 == SOUND) {
    if ($gettok($readini(mirc.ini,options,n3),19,44)) {
      if ($findfile($sound($2),$2,1)) { splay $v1 }
      elseif ($gettok($readini(mirc.ini,options,n3),21,44)) { kte_echo $chan Sound Request: $init_lang(other,7) $2 }
    }
  }
}
on ^*:action:*:#:{
...
Status:
Fixed in the next Gamers.IRC version. (5.31)

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

Locked

Who is online

Users browsing this forum: No registered users and 1 guest