mIRC Home    About    Download    Register    News    Help

Print Thread
#198025 19/04/08 08:51 AM
Joined: Jul 2007
Posts: 1,129
T
Tomao Offline OP
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
I was wondering if there is a way to fill a room name space with $chr(92) and $chr(98)?

/join #Test\bRoom

Instead of typing \b to fill the space, I would like to be able to enter the join command as such:

/join #Test Room

And join the room in this fashion.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Most IRCd's don't support the usage of spaces in room or nick names, or characters that look like spaces, as they can easily be misinterpreted for incorrect characters.
If you know that the character is definetely going to be \b (or any other given character), then you could use an alias.
Code:
alias /j join $replace($1-,$chr(32),\b)

Then use /j rather than /join

Joined: Jul 2007
Posts: 1,129
T
Tomao Offline OP
Hoopy frood
OP Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,129
Thanks, RusselB, for your time and answer to my question. =)


Link Copied to Clipboard