[6.07] customized colored shortcuts

Hotfixes for outdated Gamers.IRC versions.
Locked [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
User avatar
chris1
Administrator
Posts: 2973
Joined: 11.09.2003 20:17
Status: Gamers.IRC Coder
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

[6.07] customized colored shortcuts

Unread post by chris1 » 30.12.2013 22:47

Feature:
With this change, Gamers.IRC can also use customized colored shortcuts. (short=text with mirc colors-blod-etc.)

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

Code: Select all

          if (c isincs $gettok($chan($active).mode,1,32)) { var %sentence = $readini(bin\ini\shortcuts.ini,shortcuts, $1) }
Replace that by:

Code: Select all

          if (c isincs $gettok($chan($active).mode,1,32)) { var %sentence = $strip($readini(bin\ini\shortcuts.ini,shortcuts, $1)) }
          elseif ($chr(3) isin $readini(bin\ini\shortcuts.ini,shortcuts, $1)) { var %sentence = $readini(bin\ini\shortcuts.ini,shortcuts, $1) }
Status:
Fixed in the next Gamers.IRC version.

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

Locked [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable