Skip to content
General IRCX

Paperirc?

A TG007 community discussion started by Alex.

Discussion 24 posts
Page 2 of 2
Open
Topic #16018 · 24 published posts · 7,969 views

Has anyone managed to get spaces in channel names working with PaperIRC?

 

I don't remember this being a problem, but making an official room in the config like [%#The\bLobby] doesn't seem to work (joining the webchat to RoomName="The Lobby" shows it doesn't exist.

use rhx ;)

old but effective:

<?php

$rm = $_GET['rm'];
$rhx = $_GET['rhx'];
function hex2str($hex)
{ for($i=0;$i<strlen($hex);$i+=2)
{ $str.=chr(hexdec(substr($hex,$i,2))); }
return $str; }
$troom = hex2str($rhx);
$troom = str_replace('%#', '', $troom);
$troom = str_replace('\b', ' ', $troom);
?>
call it in as $troom te return the original channel name with spaces, so Comedy Factory for example works instead of Comedy\bCentral.
Edited Dec 25, 2014 9:08 PM by DJAxis

I mean PaperIRC has the problem not the OCX.

 

If you add [%#The\bLobby] to the configuration PaperIRC makes a room called TheÅ\Lobby or something like that.

The reason it was called paper is because you could only fill one sheet of a4 before it crashed