Jump to content

Paperirc?


Alex

Recommended Posts

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

  • Replies 23
  • Created
  • Last Reply

Top Posters In This Topic

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 by DJAxis
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...