Alex Posted December 24, 2014 Author Report Share Posted December 24, 2014 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. Link to comment Share on other sites More sharing options...
DJAxis Posted December 25, 2014 Report Share Posted December 25, 2014 (edited) 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 December 25, 2014 by DJAxis Link to comment Share on other sites More sharing options...
Alex Posted December 26, 2014 Author Report Share Posted December 26, 2014 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. Link to comment Share on other sites More sharing options...
Rancid Posted December 30, 2014 Report Share Posted December 30, 2014 The reason it was called paper is because you could only fill one sheet of a4 before it crashed Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now